Skip to content

Instantly share code, notes, and snippets.

@steffen-wirth
Created May 20, 2022 08:52
Show Gist options
  • Save steffen-wirth/84540c661219eefe3623314a0a95ae1e to your computer and use it in GitHub Desktop.
Save steffen-wirth/84540c661219eefe3623314a0a95ae1e to your computer and use it in GitHub Desktop.
#convert jpg to webp in folder
find . -name '*.jpg' -execdir mogrify -quality 80 -format webp {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment