Last active
August 29, 2015 14:06
-
-
Save johnrc/9f8333f102f610ae0bbb to your computer and use it in GitHub Desktop.
Tiny bash script to convert images to lesser quality
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# `brew install imagemagick` will give access to `convert` | |
# This loops through the current directory and converts | |
# each file to 50% the quality | |
for x in * | |
do | |
convert $x -quality 50 ~/noedit/$x | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment