Convert JPEG to WebP recursively.

Convert JPEG to WebP recursively

Miguel Menéndez

How to convert a JPG/JPEG image to WebP recursively.

$ for file in *.jpg; do cwebp -q 90 "$file" -o "$file.webp"; done


Found a bug? Do you think something could be improved? Feel free to let me know and I will be happy to take a look.