![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lowercase to Uppercase | ggovotsis | AIX | 7 | 10-16-2008 11:07 AM |
| Log4j overwriting logs! ..sometimes... | .Chris. | UNIX for Dummies Questions & Answers | 1 | 03-12-2008 10:46 AM |
| Need to change filenames in a particular directory from lowercase to UPPERCASE | Duke_Lukem | UNIX for Dummies Questions & Answers | 7 | 01-07-2008 06:32 PM |
| How convert lowercase or uppercase | Alex20 | Shell Programming and Scripting | 5 | 03-07-2005 07:07 AM |
| uppercase to lowercase | webex | Shell Programming and Scripting | 4 | 01-03-2002 02:15 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
UPPERCASE to lowercase with no overwriting?
Hey, I've just started learning shell script today.
How would I write a bash script file that changes file names from uppercase to lowercase in that directory, the program should warn the user and NOT overwrite the existing file if it's already in lowercase? for example in a directory i have files called: hello1.txt HELLO2.txt and after executing script it would print outsomething like : Not overwriting hello1.txt, and the file names become hello1.txt hello2.txt any help would be great |
![]() |
| Bookmarks |
| Tags |
| bash, lowercase, shell script, unix |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|