![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rename multiple files | antointoronto | Shell Programming and Scripting | 13 | 03-20-2008 06:16 AM |
| how to rename multiple files with a single command | tayyabq8 | Shell Programming and Scripting | 5 | 03-18-2008 12:04 PM |
| How to rename multiple files with a common suffix | er_ashu | UNIX for Dummies Questions & Answers | 1 | 09-28-2007 07:52 AM |
| Rename part of multiple files | sajjad02 | Shell Programming and Scripting | 4 | 02-22-2005 09:30 AM |
| Rename multiple files | luiz_fer10 | UNIX for Dummies Questions & Answers | 7 | 06-11-2002 05:06 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have a number of files
/u01/PROD/arch.PROD.1_1 /u01/PROD/arch.PROD.1_2 /u01/PROD/arch.PROD.1_3 I would like a simple method for moving/renaming them /u01/TEST/arch.TEST.1_1 /u01/TEST/arch.TEST.1_2 /u01/TEST/arch.TEST.1_3 Note the only thing that changes is the PROD to TEST, in file and dir name. I need to this in a script, so loops are fine, will be run via cron, the file numbers change daily. They will not always have the exact _1, _2, _3, this is an incremental number. Any help? |
| Forum Sponsor | ||
|
|