3 # picture shrinker, thanks to dang.
6 echo "This script needs at least 2 parameters: parm 1 is the reduction percentage"
7 echo "to use when shrinking pictures, and parm 2 (and 3, 4, etc) is a filename"
12 percentage="$1"; shift
16 if [ -z "$picname" ]; then
19 mogrify -resize "$percentage%" "$picname";