A trip to the arboretum on 2002-08-25

Back to Photos.


Useful scripts that helped me make this little page:

thumb.sh


#!/bin/sh

if [ "$#" -lt 2 ]; then echo "Usage: thumb.sh source thumbnail" ; exit 1
fi

convert -size 120x120 $1 -resize 120x120 +profile "*" $2 echo "

<a href=\"$1\" ><img alt=\"\" src=\"$2\" />

"


Run this command:

$ mkdir thumb $ for x in *.jpg ; do thumb.sh $x thumb/$x ; done

And take the output and paste it into a html document.


file modification time: 2004-04-05 05:22:22