The following command will make a shrink copy of all images with the extension
jpg in the current folder. The new images will have the 20% of their original size and will have the prefix
for i in $( ls *.jpg ); do convert -resize 20% $i re_$i; done
You need to have ImageMagick installed to get this feature.
This post is also available in: Greek