Skip to content

Instantly share code, notes, and snippets.

@lucasmotta
Created February 14, 2013 11:26
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 lucasmotta/4952221 to your computer and use it in GitHub Desktop.
Save lucasmotta/4952221 to your computer and use it in GitHub Desktop.
Optimize and convert to JPG Progressive all the .jpg files of the current folder using jpegtran.
find . -name "*.jpg" -print0 | xargs -0 -I filename jpegtran -copy none -optimise -progressive -outfile filename filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment