for i in *.jpg; do
	j="${i%.jpg}"
	convert "./$j.jpg" -resize 10% "./resized/$j.jpg";
done
