Search code examples
emacsrenamedired

Emacs: how to rename a directory in dired-mode?


In Emacs, how does one rename a directory in dired-mode?


Solution

  • In dired, if you select a file and type 'R', you'll get a prompt under the modeline which will guide you through renaming the file. This works for files in general, including directories.