Bash convert all files in directory into webp for file in *; do cwebp "$file" -o "${file%.*}.webp"; done