Skip to content

Instantly share code, notes, and snippets.

@interactiveRob
Created September 25, 2023 14:45
Show Gist options
  • Save interactiveRob/1976393c0a109179cfdb2339baa1aefa to your computer and use it in GitHub Desktop.
Save interactiveRob/1976393c0a109179cfdb2339baa1aefa to your computer and use it in GitHub Desktop.
Batch convert images to webp on command line
`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