I have many files in many directories all with the same filename pattern. I want to rename them by replacing a substring with another, e.g. bla_A.mat
to bla_B.mat
.
I know I can do this quite easily in a directory using wdired
mode and replace-string
. How can I do that same operation recursively on all my directories?