M-x dired |
Load dired mode (Emacs prompts for directory name) |
C-x C-f |
Dired mode loaded when a directory is specified as load file |
Left, right arrow keys or p, n |
Previous and next file, respectively |
Enter |
Visit this file in this window |
o |
Visit this file in a new window |
g |
Refresh directory view |
m |
Mark file |
u |
Un-mark file |
d |
Mark a file for later deletion |
x |
Delete all files marked for deletion (Emacs prompts for confirmation) |
D |
Delete this file right now (Emacs prompts for confirmation) |
C |
Copy this file, or copy currently marked files (Emacs prompts for destination) |
R |
Rename/move this file, or rename/move currently marked files (Emacs prompts for destination) |
M |
Chmod this file, or chmod currently marked files (Emacs prompts for new permissions) |
O |
Chown this file, or chown currently marked files (Emacs prompts for new owner) |
G |
Chgrp this file, or chgrp currently marked files (Emacs prompts for new group) |
+ |
Create directory (Emacs prompts for directory name) |
! |
Execute shell command on this file, or currently marked files (Emacs prompts for command) |