Rename multiple files


/ Published in: Bash
Save to your folder(s)

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

;-)


Copy this code and paste it in your HTML
  1. rename 's/old/new/' *old*

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.