Batch Resize Image Script
May 11, 2005
This simple script will go through all *.JPG files in the current directory and re-size them to 640x480.
#!/bin/sh for file in *.JPG do echo "Resizing file $file ..." convert -resize 640x480 "$file" "$file" done
If you don't have convert installed, install it with:
sudo apt-get install imagemagick
5 Comments