Next: , Previous: Dired Navigation, Up: Dired  30.3 Deleting
Files with Dired  One of the most frequent uses of Dired is to
first flag files for deletion, then delete the files that were
flagged.  Flag this file for deletion (dired-flag-file-
deletion). Remove the deletion flag (dired-unmark). Move point
to previous line and remove the deletion flag on that line
(dired-unmark-backward). Delete files flagged for deletion
(dired-do-flagged-delete).  You can flag a file for deletion by
moving to the line describing the file and typing d (dired-flag-
file-deletion). The deletion flag is visible as a ‘D’ at the
beginning of the line. This command moves point to the next
line, so that repeated d commands flag successive files. A
numeric prefix argument serves as a repeat count; a negative
count means to flag preceding files.  If the region is active,
the d command flags all files in the region for deletion; in
this case, the command does not move point, and ignores any
prefix argument.  The reason for flagging files