Skip to content

Instantly share code, notes, and snippets.

@oclero
Created October 23, 2023 10:43
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 oclero/ee04fc42f7ff45568110159570a9295b to your computer and use it in GitHub Desktop.
Save oclero/ee04fc42f7ff45568110159570a9295b to your computer and use it in GitHub Desktop.
Run jpegoptim recursively
find . \( -iname \*.jpg -or -iname \*.jpeg \) -print0 | xargs -P 4 -n 1 -0 jpegoptim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment