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.
Emacs: how to rename a directory in dired-mode? [closed]
質問
In Emacs, how does one rename a directory in dired-mode?
解決
他のヒント
In general to explore dired-mode you can use C-h m
and will get a useful summary
for example :
- Type u to Unmark a file or all files of an inserted subdirectory.
- Type DEL to back up one line and unmark or unflag.
- Type x to delete (eXecute) the files flagged 'D'.
- Type RET to Find the current line's file (or dired it in another buffer, if it is a directory).
- Type o to find file or dired directory in Other window.
- Type i to Insert a subdirectory in this buffer.
- Type R to Rename a file or move the marked files to another directory.
- Type C to Copy files.
- Type s to toggle Sorting by name/date or change the `ls' switches.
- Type g to read all currently expanded directories aGain. This retains all marks and hides subdirs again that were hidden before. Use
SPC' and
DEL' to move down and up by lines.
所属していません StackOverflow