Last active
March 20, 2017 12:15
-
-
Save HendrikRunte/7095c9d259cc741f9a1a31331835c2d9 to your computer and use it in GitHub Desktop.
Process all JPGs in one folder with guetzli
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
#/bin/sh | |
for i in *.jpg; do | |
guetzli --quality 84 --verbose "$i" $(basename "${i/.jpg}").gli.jpg | |
echo "Done with compressing $i by using guetzli/84." | |
done | |
echo "Finished converting all files" | |
exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment