/shrink

Interactive Shell Script to batch resize large images according to user preference.

Primary LanguageShellMIT LicenseMIT

Batch resize images using command line

This is an Interactive Shell Script to batch resize large images according to user preference.

First we need to install Imagemagick from the repository on Debian or Ubuntu:

sudo apt-get update
sudo apt-get install imagemagick -y

Paste the files in the 'original' folder, then run the following command and follow the instructions:

sh shrink.sh

Software information: Tested on Ubuntu 16.04 LTS bash shell. To check which shell you're using, run:

echo $SHELL