Created
July 11, 2024 11:23
-
-
Save twhite96/17be875aa2ab589bc925dabaf6c23390 to your computer and use it in GitHub Desktop.
convert all images 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
function webpall() { | |
for file in *; | |
do cwebp -q 50 "$file" -o "${file%.*}.webp"; | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment