Re: Mass JPG re-sizing
- From: houghi <houghi@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 13 Dec 2006 17:22:43 +0100
nospam wrote:
houghi schreef:
The do:
for PIC in *.JPG;do convert -$PIC -size 640x480 SM-$PIC;done
That gives SM-DCSXXXX.JPG
If you would realy want DCSXXXX-SM.JPG, I would install "mmv" and do:
mmv "SM-*.JPG" "#1-SM.JPG"
Why can you just write it like this:
for PIC in *.JPG;do convert -$PIC -size 640x480 '$PIC'-SM;done
That way you don't have to use mmv. (I think, but I'm not sure :P).
That would then be:
for PIC in *.JPG;do convert -$PIC -size 640x480 '$PIC'-SM.JPG;done
And I would advice putting everything in lowercase.
houghi
--
Dr. Walter Gibbs: Won't that be grand? Computers and the programs
will start thinking and the people will stop.
-- Tron (1982)
.
- References:
- Mass JPG re-sizing
- From: Tony
- Re: Mass JPG re-sizing
- From: houghi
- Re: Mass JPG re-sizing
- From: nospam
- Mass JPG re-sizing
- Prev by Date: Re: Mass JPG re-sizing
- Next by Date: Re: Mass JPG re-sizing
- Previous by thread: Re: Mass JPG re-sizing
- Next by thread: Re: Mass JPG re-sizing
- Index(es):
Relevant Pages
|