Novell Home

Cool Tip: Rename Files and Directories that contain Uppercase Letters to Lowercase

Novell Cool Solutions: Tip
By Svetlin Petrov

Digg This - Slashdot This

Posted: 8 Jul 2004
 

problem:

One of the requirements for moving an existing GroupWise system to Linux is "rename any files and directories that contain uppercase letters to all lower case" (taken from the GroupWise 6.5 Installaton Guide).

solution:

In the Linux world there are many possibilites for doing this - one of them is the usage of the chcase 1.2 perl script which can be downloaded from: (No current URL available)

example:

Some of the instructions are:

  1. Download chcase: (No current URL available)
  2. Make it executable (eg: chmod 755 chcase)
  3. Move it to somewhere in your path (eg: mv chcase /usr/local/bin) or just copy it to the GroupWise directory (eg: /gwsystem)
  4. Run it (eg: ./chcase)

./chcase -e gives a nice output containing many examples.

So - if the GroupWise system is located in /gwsystem executing ./chcase -rd '*' from /gwsystem directory will convert all files and directories to lower case, starting from the current directory.

submit a tip

Here's a chance to share your experiences using GroupWise. Just send us a tip about using (or installing, deploying, troubleshooting, etc.) GroupWise, and if it looks like something we can use, we'll send you a Novell t-shirt, post your tip, and make you famous beyond your tamest dreams. Submit your tip here: http://www.novell.com/coolsolutions/forms/submit_a_tip.html

For more tips see:


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell