Created
May 7, 2024 20:38
-
-
Save ogonkov/65b1f03c757fef0e5bb1d0562b01e439 to your computer and use it in GitHub Desktop.
One-liners
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
mkdir webp && ls -p | grep -v / | sed -e 'p;s/\.[pj][pn]g$//' | xargs -n2 bash -c 'cwebp -q 90 -z 8 -m 6 $0 -o webp/$1.webp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment