<quote who="Voytek Eymont">
> for i in `ls *.jpg` ; do convert -resize 100 "$i" ./thumbs/"$i"; done
The ls is unnecessary and confuses things:
for i in *.jpg; do convert -resize 100 "$i" "thumbs/$i"; done
Indeed!
You learn a new thing everyday...
Cheers,
Rob.
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
