for i in `ls *.jpg`; do convert -resize 1024x768 -quality 70 $i ok_$i; done