for f in *.jpg;
do
	f="${f%.*}"
	cwebp -q 90 $f.jpg -o $f.webp;
done