Need to rename files recursively using regex? Thanks to commandlinefu and awesome people, you now can:

find . -depth -type f -execdir bash -c 'a="{}";mv -f "$a" ${a//REPLACEME/WITHME}' \;

END OF POST

Blog Logo

Mario Loria


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview