Re: Mass JPG re-sizing



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)
.



Relevant Pages

  • Re: Intermittent Network Cable Unplugged message
    ... >avoiding spam is impossible IMOP. ... OK, if the problem is between your computers and your ISP, use automation to ... server in your ISPs address space, ... As far as the munging bit goes, you're right, adding "NOSPAM" to your real addy ...
    (microsoft.public.windowsxp.network_web)
  • Re: OT: Doggie Prayers
    ... remove "nospam" before mchsi ... hazard that living outside her parents house is crumbling the ... (especially with computers). ...
    (rec.crafts.textiles.quilting)
  • Re: Possible to extract high resolution b/w from a raw file?
    ... nospam writes: ... That is true only if you have a lot of unused horsepower. ... computers these days have far more power than they need. ... a Mac, Windows, and UNIX all at once. ...
    (rec.photo.digital)
  • Re: no xp on start up
    ... i already paid them once for a copy. ... > MY COPY on the computers i own??? ... >>Delete NOSPAM from the email address after clicking Reply. ... You can install XP on one computer. ...
    (microsoft.public.windowsxp.general)
  • Re: Windows does not recognize "." as decimal separator;
    ... on some computers and I do not know why. ... SOME more information would be highly appreciated, as "Nospam" just previously stated. ... In order to write an email, please replace "compuserve" with ... the name given in Organization header. ...
    (microsoft.public.vb.general.discussion)