Skip to content

Instantly share code, notes, and snippets.

@HendrikRunte
Last active March 20, 2017 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HendrikRunte/7095c9d259cc741f9a1a31331835c2d9 to your computer and use it in GitHub Desktop.
Save HendrikRunte/7095c9d259cc741f9a1a31331835c2d9 to your computer and use it in GitHub Desktop.
Process all JPGs in one folder with guetzli
#/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