Difference between revisions of "Chcase"

From Christoph's Personal Wiki
Jump to: navigation, search
(Started article)
 
(+"See also")
Line 20: Line 20:
 
* Move it to somewhere in your path (eg: <tt>mv chcase /usr/local/bin</tt>)
 
* Move it to somewhere in your path (eg: <tt>mv chcase /usr/local/bin</tt>)
 
* Read help and examples (eg: <tt>chcase --help; chcase -e</tt>)
 
* Read help and examples (eg: <tt>chcase --help; chcase -e</tt>)
 +
 +
== See also ==
 +
* [[Mmv (command)|mmv]]
 +
* [[Rename (command)|rename]]
  
 
== External links ==
 
== External links ==

Revision as of 13:16, 30 May 2006

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