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
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