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 -yPaste the files in the 'original' folder, then run the following command and follow the instructions:
sh shrink.shSoftware information: Tested on Ubuntu 16.04 LTS bash shell. To check which shell you're using, run:
echo $SHELL