Skip to content

Instantly share code, notes, and snippets.

@brendannee
Created September 23, 2013 09:03
Show Gist options
  • Save brendannee/6668143 to your computer and use it in GitHub Desktop.
Save brendannee/6668143 to your computer and use it in GitHub Desktop.
Optimize jpg files in a directory (overwrite)
find . -name "*.jpg" -exec jpegtran -optimize -copy none -outfile {} {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment