Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 746
dephiros Avatar asked Apr 20 '13 01:04

dephiros


People also ask

How to rename in dired?

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.

How to rename a file in Emacs?

shift+c on the file and emacs will ask you to denote a name for the path including the file name, so you just provide the new name,and enter...of course, you have to Delete the former one.

What is Emacs dired mode?

Dired is the main mode for Emacs file-manager operations. The name “Dired” stands for “directory editor”. A single Dired buffer can display the contents of a single directory, or it can include listings of one or more sub-directories.

How do I create a dired folder?

The command + ( dired-create-directory ) reads a directory's name, and creates that directory. It signals an error if the directory already exists.


1 Answers

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.

like image 78
user888379 Avatar answered Sep 19 '22 06:09

user888379