Posted By

vigoncas on 02/25/10


Tagged

files rename


Versions (?)

Rename multiple files


 / Published in: Bash
 

If you have these files:

old-file.php file-old.php file-old-file.php license.txt

and you apply the snippet then you'll have these files:

new-file.php file-new.php file-new-file.php license.txt

;-)

  1. rename 's/old/new/' *old*

Report this snippet  

You need to login to post a comment.