|
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?
|