Go to the first, previous, next, last section, table of contents.

# Advanced Mark Commands

`F`
  (`dired-do-find-marked-files`) Find all marked files at once displaying simultaneously. If optional NOSELECT is non-`nil` then just find the files but do not select. If you want to keep the dired buffer displayed, type `C-x 2` first. If you want just the marked files displayed and nothing else, type `C-x 1` first. The current window is split across all files marked, as evenly as possible. Remaining lines go to the bottom-most window. The number of files that can be displayed this way is restricted by the height of the current window and the variable `window-min-height`.

`dired-mark-extension`
  Mark all files with a certain extension for use in later commands. A ``.'` is not automatically prepended to the string entered. When called from lisp, extension may also be a list of extensions and an optional argument marker-char specifies the marker used.
`dired-flag-extension`
  Flag all files with a certain extension for deletion. A ``.'` is not automatically prepended to the string entered.

## Advanced Cleaning Functions

`dired-clean-patch`
  Flag dispensable files created by the ``patch'` program for deletion. See variable `dired-patch-unclean-extensions`.
`dired-clean-tex`
  Flag dispensable files created by TeX, LaTeX, and ``texinfo'` for deletion. See the following variables (See section Advanced Cleaning Variables)
  - `dired-tex-unclean-extensions`
  - `dired-texinfo-unclean-extensions`
  - `dired-latex-unclean-extensions`
  - `dired-bibtex-unclean-extensions`
`dired-very-clean-tex`
  Flag dispensable files created by TeX, LaTeX, ``texinfo'`, and ".dvi" files for deletion.

## Advanced Cleaning Variables

Variables used by the above cleaning commands (and in the default value for variable `dired-omit-extensions`, See section Omitting Variables)

`dired-patch-unclean-extensions`
  Default: `'(".rej" ".orig")` List of extensions of dispensable files created by the ``patch'` program.
`dired-tex-unclean-extensions`
  Default: `'(".toc" ".log" ".aux")` List of extensions of dispensable files created by TeX.
`dired-texinfo-unclean-extensions`
  Default: `'(".cp" ".cps" ".fn" ".fns" ".ky" ".kys"` `".pg" ".pgs" ".tp" ".tps" ".vr" ".vrs")` List of extensions of dispensable files created by ``texinfo'`.
`dired-latex-unclean-extensions`
  Default: `'(".idx" ".lof" ".lot" ".glo")` List of extensions of dispensable files created by LaTeX.
`dired-bibtex-unclean-extensions`
  Default: `'(".blg" ".bbl")` List of extensions of dispensable files created by BibTeX.

## Special Marking Function

`M-(`
  (`dired-mark-sexp`) Mark files for which predicate returns non-`nil`. With a prefix argument, unflag those files instead. The predicate is a lisp expression that can refer to the following symbols:
  `inode`
    [integer] the inode of the file (only for ``ls -i'` output)
  `s`
    [integer] the size of the file for ``ls -s'` output (usually in blocks or, with ``-k'`, in KBytes)
  `mode`
    [string] file permission bits, e.g., ``"-rw-r--r--"'`
  `nlink`
    [integer] number of links to file
  `uid`
    [string] owner
  `gid`
    [string] group (If the gid is not displayed by ``ls'`, this will still be set (to the same as uid))
  `size`
    [integer] file size in bytes
  `time`
    [string] the time that ``ls'` displays, e.g., ``"Feb 12 14:17"'`
  `name`
    [string] the name of the file
  `sym`
    [string] if file is a symbolic link, the linked-to name, else ``""'`
  For example, use

      (equal 0 size)

  to mark all zero length files. To find out all not yet compiled Emacs lisp files in a directory, dired all ``.el'` files in the lisp directory using the wildcard ``*.el'`. Then use `M-(` with

      (not (file-exists-p (concat name "c")))

  to mark all ``.el'` files without a corresponding ``.elc'` file.

Go to the first, previous, next, last section, table of contents.