for i in *.jpg; do
  cwebp -q 80 "$i" -o "${i%.jpg}.webp"
done
