Cool Tip: Rename Files and Directories that contain Uppercase Letters to Lowercase
Novell Cool Solutions: Tip
By Svetlin Petrov
Reader Rating
from 9 ratings
|
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: http://www.blemished.net/chcase.html
| example: | |
Some of the instructions are:
- Download chcase: http://www.blemished.net/chcase
- Make it executable (eg: chmod 755 chcase)
- Move it to somewhere in your path (eg: mv chcase /usr/local/bin) or just copy it to the GroupWise directory (eg: /gwsystem)
- 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:
Reader Comments
- Very useful tip! Thanks Svetlin.
- Useful info!
- and it really works too...
- Clear explanation with appropriate examples.
- It fixed us in a crisis!
- Saved my day, thanx!!
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
