![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Accepting Upper and Lower case | lweegp | Shell Programming and Scripting | 8 | 12-08-2007 06:57 PM |
| replacing all 4 first upper char of every rec to lowercase ? | Browser_ice | UNIX for Dummies Questions & Answers | 2 | 08-02-2006 12:06 PM |
| How convert lowercase or uppercase | Alex20 | Shell Programming and Scripting | 5 | 03-07-2005 07:07 AM |
| lower case to upper case string conversion in shell script | dchalavadi | UNIX for Dummies Questions & Answers | 3 | 05-29-2002 12:07 AM |
| Upper And Lower Case | pciatto | Shell Programming and Scripting | 1 | 04-29-2002 12:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
If user chosen to tolower then it should convert file name to lower or vice versa. when file names converted it should put into appropriate subdirectories.
e.g when files converted it then seperate them out with file etension where it will seperate them out . such as file.pdf, phone.doc both moved to different subdirectory where file.pdf >>>>> is moved to pdf directory which holds FILE.pdf (convertedted uppercase) &&&&&&& phone.doc. whill be moved to doc directory whill hold PHONE.doc etc. this means main directory will only have normal files and the extension subdirectories will only have converted filenames(all lowercased or upper) if no ubdirectory exist it should create and put into it. if file doesnt have any extension then it should not moved. also my second question is : if i move to subdirectory how can rename the the extension of file name e.g when files are in pdf folder how can i rename the extension it. e.g when FILE.pdf is all ready exist in pdf directory when another identical file (duplicate) is moved it should be FILE.pdf1. if there are another one it should be FILE.pdf2 so on .so it should add num,ber to end. using ${string##substring} strips {{{ by modifying top one}}}} |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|