lcra and nsra - rename files to more tasteful names


If you copy files from MS-DOS to a Unix-like system, the uppercase filenames may get in the way. On Windows it's common to end up with a mixture of uppercase and lowercase filenames, which looks ugly and messes up environments like Cygwin. Another problem is spaces in filenames.

lcra renames uppercase filenames to lowercase. It has some idea of which filenames are conventionally uppercase on Unix (COPYING, README, etc.) and leaves those alone. It will rename all files in a directory and its subdirectories.

nsra is similar, but changes spaces to underscores.

Both programs should work on Unix and on Windows, provided perl is installed.


The latest version is 1.0.1, which supports renaming of just the extension (eg foo.TXT), and should work under perl 5.6.


The above files are in the public domain. This means there are no copyright restrictions, you may do what you wish with them. Of course, giving credit would be appreciated (but not required).

They are offered as-is with no warranty whatsoever.


Please contact me with any suggestions or bug reports:
Ed Avis <>

Edward Avis
Last modified: Mon Jan 22 13:12:04 GMT 2001
Stop software patents in the EU