<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 - Jeff -- FISL 7.0: Porto Alegre, Brazil http://fisl.softwarelivre.org/7.0/www/ "jwz? no way man, he's my idle" - James Wilkinson -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
