![]() |
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 |
| 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rename multiple files | antointoronto | Shell Programming and Scripting | 13 | 03-20-2008 10:16 AM |
| how to rename multiple files with a single command | tayyabq8 | Shell Programming and Scripting | 5 | 03-18-2008 04:04 PM |
| How to rename multiple files with a common suffix | er_ashu | UNIX for Dummies Questions & Answers | 1 | 09-28-2007 10:52 AM |
| Rename part of multiple files | sajjad02 | Shell Programming and Scripting | 4 | 02-22-2005 01:30 PM |
| Rename multiple files | luiz_fer10 | UNIX for Dummies Questions & Answers | 7 | 06-11-2002 08:06 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|