28 Apr
2006
28 Apr
'06
13:58
On Sun, 2006-04-23 at 09:18 -0400, Ken Schneider wrote:
I ended up using this:
for I in `ls -1 *.JPG`;do convert -resize 640x480 ${I} ${I};echo ${I};done
Which worked great, converted about 200 photos in less then a minute. Didn't care about over writing as the originals are on a CD.
And to avoid overwriting would this work? for I in `ls -1 *.JPG`;do convert -resize 640x480 ${I} ${I}.new;echo ${I}.new;done Though I am sure there is a fancier perl way to preserve the extention so the name becomes filespec.new.jpg On that I am still studying perl. -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/