Skip to content

Instantly share code, notes, and snippets.

# MacOS Automator Quick Action for image compression using Tinypng.com
# You need to register to obtain a personal API key
# https://tinypng.com/developers
#
# The code below should be put inside "Run Shell Script" Action with the following configuration in the Automator:
# workflow receives current: files or folders | in Finder
# shell: /bin/zsh
# pass input: as arguments
set -e -o pipefail