emacs - renaming files using dired
Table of Contents
emacs - renaming files using dired
Use this:
This is also listed in the table above.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Wdired.html
- Exit
evil-mode
if you are using it - Alt-x
dired-toggle-read-only
- Make the changes to file names using regular emacs operations, rectangles, etc.
- Alt-x
wdired-finish-edit
Do not use
- Do
Ctrl-x k
turn dired into editing mode. You can then edit the file names by hand or - Do
M-%
to replace foo with bar in the dired buffer. This will change the file names - Do
C-c C-c
so apply the changes, or C-c ESC to cancel.