Ken Ambrose <[EMAIL PROTECTED]> writes: > Hello, all. As previously noted, I just got hitched. I've also got a > bunch of pictures, now (good ones, too!), and I'd like to munge 'em down > small with "convert" or "mogrify" or somesuch. However, I've got spaces > in the filenames. While it would be moderately trivial to s/ /_/g; I > would prefer to do it the "right" way, as much to have it work in this > instance as to have it ready for future reference. But I can't, for love > or money, figure out how. Here's what I want to do (more or less):
Here's how I'd do it:
mkdir x
for i do
convert -geometry 30%x30% "$i" "x/$i"
done
You can then check the results and delete the originals if you like.
Personally, I never delete the originals; I treat the converted
files as "prints", and the originals as the "negatives".
Oh, and congrats on the wedding!
--
John Abreau / Executive Director, Boston Linux & Unix
ICQ 28611923 / AIM abreauj / JABBER [EMAIL PROTECTED] / YAHOO abreauj
Email [EMAIL PROTECTED] / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
msg14803/pgp00000.pgp
Description: PGP signature
