Projects / lcra

lcra

lcra renames filenames like COMMAND.COM and MAIN.C to more tasteful ones like command.com and main.c. It tries to guess which filenames are DOS-ish ones needing changing, and which are really meant to be uppercase. It will fix the contents of a directory and all subdirectories. The companion program nsra changes spaces in filenames to underscores.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  22 Jan 2001 16:08

    Release Notes: This version can fix just the extension (eg foo.TXT), and should work under perl 5.6.

    •  13 Oct 2000 04:48

      Release Notes: Initial release.

      Recent comments

      15 Nov 2001 13:22 ed_avis

      Related: sanity.pl

      A similar tool is sanity.pl (/projects/sanity/) which cleans up spaces (like nsra) and semicolons and umlauts (unlike nsra) from filenames. One or the other project should probably expand into a general tool for doing renaming where you can specify arbitrary Perl code. Larry Wall's 'rename' oneliner works, but doesn't handle recursing through subdirectories (which in this case is a useful feature to add to the tool itself).

      (Why isn't there a 'related projects' section of the Freshmeat database? Oh well...)

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.