Skip to content

Instantly share code, notes, and snippets.

@bjogden
Created October 6, 2023 15:02
Show Gist options
  • Save bjogden/bc3854e4a6175caacc5c4722e0641ce6 to your computer and use it in GitHub Desktop.
Save bjogden/bc3854e4a6175caacc5c4722e0641ce6 to your computer and use it in GitHub Desktop.
Convert PNGs to WEBP
for file in *.png;
do convert $file "`basename $file .png`.webp";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment