3

Создаём превью для всех картинок в каталоге

$ for file in *.jpg;  do convert -scale 100 $file tn_$file ; done