Mixed Case Directory Names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux