* kitandkaboodle <[email protected]> [08-09-11 02:42]:
> Imagemagick is a good tip, and I've just been looking into it, but it
> is a bit daunting since I've not much experience in command-line.
> If I wanted to convert all the jpgs in a given folder to a file size
> of say maximum (or exactly) 200kb, do you know what command I could
> type?  Or is there another way to dramatically cut filesize for all of
> them in a given folder?

> (If a command for a whole folder doesn't work, then the jpgs do have
> names in numerical order, like p100161.jpg for example.)

cd into the subject directory

for i in *.jpg; 
  do convert -resize 1024x768 $i new.$i;
  done

file p100161.jpg will be output as
     new.p100161.jpg
at 1024x768      

  
-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                      @ http://counter.li.org

-- 
You received this message because you are subscribed to the Google Groups 
"Google-Labs-Picasa-for-Linux" group.
To post to this group, send email to 
[email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-labs-picasa-for-linux?hl=en.

Reply via email to