Mass Edit
Recursive Search+Replace
M-x find-name-dired RET- Select the directory as your beginning point for recursive searching
- Enter in pattern for filenames to find
- Press
t to toggle the files for updating - Press
Q for Query-Replace in Files... - Enter in the text to search for
- Enter in the text to be used for replacing the text found
- Press buttons to accept replacement
y = yes replace it and move to next matchY = yes to replacing all matches and no promptingn = skipp and move to next match! = replace all matchesN = skip remaining matches
- Activate
iBuffer with C-x C-b - Mark all unsaved buffers with
* u - Use
S to save all of them - Close all buffers affected with:
* * RET to unmark allD to close marked
Last updated on Aug 25, 2021