Linux Shell - Process bulk Images | Drupal 8

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