Created
February 10, 2020 15:58
-
-
Save 0x7067/09e58090590525bb168eb24627e0a2db to your computer and use it in GitHub Desktop.
Recursively convert all PNG files in a directory to webp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in $(find . -name "*.png" | sed 's/\.png//1'); do cwebp -q 75 $i.png -o $i.webp; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment