Skip to content

Instantly share code, notes, and snippets.

@nkcr
Created June 5, 2019 18:44
Show Gist options
  • Save nkcr/8eaa77e6a73c3419edc6f266598c2f5d to your computer and use it in GitHub Desktop.
Save nkcr/8eaa77e6a73c3419edc6f266598c2f5d to your computer and use it in GitHub Desktop.
for f in ./*.jpg; do
        /Users/nkcr/Downloads/libwebp-1.0.2-rc1-mac-10.14/bin/cwebp -q 80 $f -o $f.webp
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment