another memory aid / another photo-shrinkage script
# World's simplest resizing script, standing tenuously on the shoulders of the imagemagick giants :)
# to use, place this script in a directory of pictures you want to resize. Invoke it ("./thumbit5050"). Bam.
# Intended result: 3 directories (for shrunken images, original images, movies)
# first created 20060206 Philadelphia by Tim
# last updated 20060206 Philadelphia by Tim
for img in *.[j,J][p,P][g,G]
convert -sample 50%x50% -quality 50 $img 50pct-$img
for img in 50*.[j,J][p,P][g,G]
convert -bordercolor black -border 15x15 $img frame-$img
mv *50pct* 5050versions/
mv *.[j,J][p,P][g,G] full-size/
# mkdir movies
# mv *[a,A][v,V][i,I]
I wish I knew enough to uncomment those last lines without generating an error when this script is run in a directory which happens to not contain any .avi files ...