Chcase

From Christoph's Personal Wiki
Revision as of 13:16, 30 May 2006 by Christoph (Talk | contribs) (+"See also")

Jump to: navigation, search
The correct title of this article is chcase. The initial letter is capitalized due to technical restrictions.

chcase is a perl script (command line tool) used to rename files in linux. You can change filenames to either all upper or all lower case, or specify perl expressions to operate on the filenames. It was written by "Supermike".

This is a useful command (or "script") for renaming multiple filenames at once.

  • Latest version: 2.0

Features/options

  • Capitalize words or filenames
  • Can recurse through subdirectories
  • Supports special characters
  • Can overwrite existing files
  • Operates on filenames with perl expressions like s/// and tr///
  • Search and replace strings in filenames (eg: remove all spaces)

Installation

  • Download chcase
  • Make it executable (eg: chmod 755 chcase)
  • Move it to somewhere in your path (eg: mv chcase /usr/local/bin)
  • Read help and examples (eg: chcase --help; chcase -e)

See also

External links