Linux Shell - Process bulk Images | Drupal 8

Linux Shell - Process bulk Images

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

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

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