Skip to navigation
How to rename recursively file names with regular expression by a linux command
07.04.15
example: you have files like foo)bar.jpg and you like to rename it to foo_bar.jpg than try this: find . -type f -iname "*.jpg" -exec rename -v 's/\)/\_/' {} \; you have files like foo&bar.jpg and you like to rename it to foo_bar.jpg than try this: find . -type f -iname "*.jpg" -exec rename -v 's/\&/\_/' {} \;
http://linux-commands-examples.com/rename
Reply
Anonymous
Information Epoch 1732567900
Save trees.
Home
Notebook
Contact us