lowercasing file names
Joseph C. Lininger
jbahm at pcdesk.net
Mon Jun 14 21:59:53 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks I'll try it out. The verification is actually not necessary if
posting to the speakup list. I only put that in my signature in case someone
replies directly to me.
- ---
Joseph C. Lininger
jbahm at pcdesk.net
note, the following is used for automated processing. Please leave in tact
if quoting me in a reply.
Verification: 5eab38a77ac40416e075be8f50607ff7
- ----- Original Message -----
From: "Thomas Stivers" <stivers_t at tomass.dyndns.org>
To: "Speakup List" <speakup at braille.uwo.ca>
Sent: Monday, June 14, 2004 10:38 AM
Subject: Re: lowercasing file names
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Jun 13 2004 6:54 PM, Joseph C. Lininger wrote:
>>
>> Hi all,
>> I've got a directory structure which contains some uppercase characters
>> in
>> the file names. I would like to lowercase every character in the name.
>> Does
>> anyone know of a quick and easy way to do this? I could write a little
>> program to walk through the directory structure and take care of it, but
>> I'd rather not go to the trouble if there is already something out there
>> that can do it.
>
> The perl package comes with a rename utility that works wonderfully for
> this.
>
> rename 'tr/[A-Z]/[a-z]/' *
>
> This utility can be used for any number of other transformations on
> filenames and it gives you all perl's pattern matching to work with.
> You could probably write the same utility in a matter of minutes, but
> there it is. I think it even handles collisions of names gracefully.
>
> HTH
>> Verification: 5eab38a77ac40416e075be8f50607ff7
>
> Well I certainly want to get verified. :)
>
> - --
> "Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it." - Brian W. Kernighan
>
> Thomas Stivers e-mail: stivers_t at tomass.dyndns.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFAzdSc5JK61UXLur0RAu6YAJ9NJXd/MELU9UOzmCBIv2Z5BGvQNACeOPIM
> Y3En3cCvtvX1HOsT337rQx0=
> =rvkt
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
iQA/AwUBQM5YFyenap9Jqj2wEQL9EQCeNfesEvsBYNDaW5d888w7c6Omd20AoPhS
wclP6igzr3etemtVWKqb96SQ
=zX78
-----END PGP SIGNATURE-----
More information about the Speakup
mailing list