in reply to Re: Making jpg thumbnailsin thread Making jpg thumbnails
for i in *.jpg; do djpeg -dct float -scale 1/8 $i | cjpeg -dct float>$i.thumb.jpg; done
djpeg and cjpeg are distributed with the JPEG group's libjpeg.