Batch resize images using ImageMagick

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 re_.

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.