Skip to content

Instantly share code, notes, and snippets.

@AWOL-TECH
Created August 17, 2018 15:02
Show Gist options
  • Save AWOL-TECH/20674e052c9c91173e39a92bade22c04 to your computer and use it in GitHub Desktop.
Save AWOL-TECH/20674e052c9c91173e39a92bade22c04 to your computer and use it in GitHub Desktop.
Batch processing JPEGs with jpegoptim - Make sure you have already navigated to the folder you want otherwise you could end up scanning and optimising your full drive
find -type f -name "*.jp*g" -exec jpegoptim --strip-all --force -t {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment