(dired.info)Mark-using Commands

Next: Commands That Do Not Use Marks Prev: Marking Files in Dired Up: Dired

Mark-using Commands

   Most Dired commands operate on the "marked" files and default to the
current file.  They are the "mark-using" commands.  Deleting is the
only mark-using command that does not default to the current file.

   Mark-using Dired commands treat a numeric argument as a repeat count,
meaning to act on the files of the next few lines instead of on the
marked files.  That is, when you give a prefix argument the marks are
not consulted at all.  A negative argument means to operate on the files
of the preceding lines.  Either set of files is called "marked files"
below, whether they really come from marks or from a prefix argument.
The prompt of a mark-using command always makes clear which set of
files is operated upon: it mentions either the marker character `*' or
the `next N' files, where a negative N really means the previous -N

   Thus you can use a prefix argument of `1' to apply a command to just
the current file, e.g, if you don't want to disturb the other files you
marked.  As digits are prefix arguments in Dired, simply type `1'
followed by the command.

   Many mark-using commands treat a prefix of N=0 specially, since it
would otherwise be a no-op.

   All mark-using commands display a list of files for which they
failed.  Type `W' to see why a (mark-using or other) command failed.
Error messages from shell commands (`stderr') cannot be redirected
separately and goes together with the usual output (`stdout').

* Copy and Move Into a Directory
* Renaming and More With Regexps
* Other File Creating Commands
* Deleting Files With Dired
* Dired Shell Commands
* Compressing and Uncompressing
* Changing File Attributes
* Loading and Byte-compiling Emacs Lisp Files
* Printing the Marked Files

automatically generated by info2www