![]() |
|
|
|
|
|||||||
| 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 |
| Renaming Files | abch624 | Shell Programming and Scripting | 2 | 03-19-2008 08:54 PM |
| Renaming Files | abch624 | UNIX for Dummies Questions & Answers | 2 | 03-19-2008 08:35 PM |
| How to create an run a simple batch file? | Hyunkel | UNIX for Dummies Questions & Answers | 2 | 09-25-2007 05:21 PM |
| Simple to you not simple to me pattern matchin help | aleks001 | Shell Programming and Scripting | 0 | 07-22-2007 07:06 PM |
| Ok simple question for simple knowledge... | Corrail | UNIX for Dummies Questions & Answers | 1 | 11-28-2005 09:03 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
simple batch renaming...45-*.php to 46-*.php
in Bash i'm trying to rename directories full of files. the file name pretty much stays the same except for the numerical prefix which will be the same for all files. so, i want to rename these...
45-body.php 45-header.php 45-footer.php etc. to... 46-body.php 46-header.php 46-footer.php etc. i tried using mv 45-*.php 46-*.php and of course that didn't work. i should be able to do this without writing a complete script right? |
| Forum Sponsor | ||
|
|