Linux Shell - Process bulk Images

Submitted by editor on Mon, 11/16/2015 - 11:49
Question

How to process several images with linux shell.

Inlinux debian / ubuntu / mint ...

1. Install imagemagick tools (if not installed)
# sudo apt-get install imagemagick

2. Process images like : (here resize images to 50%)
$ for i in $( ls *.jpg); do convert -resize 50% $i re_$i; done

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.