Example of Fancy File Renaming


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



Copy this code and paste it in your HTML
  1. find . -name *.php3 | sed 's/\(.*\).php3$/mv & \1.php/' | sh
  2. sudo find . -name "BULUSHI-CLOTHES-RANGE-*" | sed 's/BULUSHI-CLOTHES-RANGE-\(.*\)/mv & \1/' | sed 's/^\.\/\(.*\)/\1/' | sh

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.