Mixed Case Directory Names

Thomas Stivers stivers_t at tomass.dyndns.org
Tue Nov 11 10:20:57 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/10/03  7:05 PM -0500, Rejean Proulx wrote:
> Is there a way of changing a bunch of directories from mixed case to lower
> case names?

On my debian system I have the rename program, but I remember if it was
in its own package or not. I think it will do what you want fairly
easily. You can try the following.

rename 'tr/A-Z/a-z/' *

That renames everything in a directory, but not recursively. I have
found rename to ve invaluable when dealing with lots of files which need
to conform to a naming convension. Good luck.

- -- 
Unix is a user friendly operating system. It just picks its friends more
carefully than others.
Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org	gpg: 45CBBABD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/sP5Z5JK61UXLur0RAgVfAJ9j8unxuA1Zim+BywJSgmTpH+O0AgCfdvQb
w4C7BHNo/JVG1iWqHtpccRQ=
=H5dY
-----END PGP SIGNATURE-----




More information about the Speakup mailing list