This one time, at band camp, Voytek Eymont wrote: >I'm trying to (re-)generate some thumbnail images like: > ># convert -resize 125 1.jpg thumbs/1.jpg > >that gives me what I need, but, I haven't suceeded looping it: >basically, I'd like to run convert on all '*.jpg' > ># for i in *.jpg; do convert -resize 125 $i ./thumbs/$1; done >convert: Unable to open file (./thumbs/) [Is a directory].
$1 is a typo :-) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
