![]() |
|
|
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 |
| Shell - Matching 3 letter file names | PrasannaKS | Shell Programming and Scripting | 4 | 12-30-2008 02:37 PM |
| Renaming putty windows with a shell script | orno | Shell Programming and Scripting | 4 | 11-25-2008 11:09 AM |
| Dealing with spaces in file names in a shell script | same1290 | Shell Programming and Scripting | 5 | 08-13-2008 12:01 AM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 05:25 AM |
| copying files and Renaming them + shell script | pathanjalireddy | Shell Programming and Scripting | 7 | 06-08-2005 05:08 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Renaming file names in a shell script
I want to write a shell script that will rename all the file names to today's date attached to it..
so for example i have a file names like file1.sales.20081201.txt.c zbrs.salestxtn.20091101.txt.inn then it will rename both the files with todays date to it so the file names get changed like below. file1.sales.01262009.txt.c zbrs.salestxtn.01262009.txt.inn any suggestions. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|