emacs - renaming files using dired

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

  1. Exit evil-mode if you are using it
  2. Alt-x dired-toggle-read-only
  3. Make the changes to file names using regular emacs operations, rectangles, etc.
  4. Alt-x wdired-finish-edit

Do not use

  1. Do Ctrl-x k turn dired into editing mode. You can then edit the file names by hand or
  2. Do M-% to replace foo with bar in the dired buffer. This will change the file names
  3. Do C-c C-c so apply the changes, or C-c ESC to cancel.