/ 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
;-)
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
;-)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
rename 's/old/new/' *old*
Comments
