On 3/6/06, Voytek Eymont <[EMAIL PROTECTED]> wrote:
I think you need backticks and ls in there...
# for i in `ls *.jpg`; do convert -resize 125 $i ./thumbs/$1; done
Cheers,
Rob.
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].
I think you need backticks and ls in there...
# for i in `ls *.jpg`; do convert -resize 125 $i ./thumbs/$1; done
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
