in reply to thumbnails
tested and works...#!/bin/zsh a=`find $1 -type f | grep -E 'gif|jpg'` for img in $a do echo "found : $img" echo $img | perl -e 'while (<>) { s/(\w+)\.(\w+)$/$1\.thumb\.$2/; pr +int $_ }'\ | while read thumb do convert -scale 50x50 $img $thumb done done
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: thumbnails
by jlongino (Parson) on Feb 01, 2002 at 00:31 UTC | |
by blakem (Monsignor) on Feb 01, 2002 at 00:53 UTC |