Find files recursively and rename/replace with regex
Freitag, 15. März 2019, 10:26 Uhr | roberto@vasquez-angel.de |This will recursively find all files and directories in the actual directory and replace occurences of “foo” with “bar” in their filename:
find . -iname "*" -exec rename "s/foo/bar/g" {} \;