resize_image.sh
A script to resize all images of a folder to 640x480, 800x600 or 1024x768.
The resized images will be stored in an extra folder.

Usage:
./resize_image.sh File-extension size rotate

Parameter size:
small -> 640x480
medium -> 800x600
large -> 1024x769

If parameter rotate is used the script rotates images to correct aspect ratio.
Parameter rotate is optional. This will rotate the original file, not the resized copy !

Example
./resize_image.sh JPG small rotate
./resize_image.sh JPG medium
------------------------------------------------
I take no responsibility for loss of data. So backup before ;-)
------------------------------------------------
resize_image.sh.zip
Komprimiertes Archiv im ZIP Format 824 Bytes