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

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.