Function: find-name-dired

find-name-dired is an autoloaded, interactive and byte-compiled function defined in find-dired.el.gz.

Signature

(find-name-dired DIR PATTERN)

Documentation

Search DIR recursively for files matching the globbing PATTERN, and run Dired on those files. PATTERN is a shell wildcard (not an Emacs regexp) and need not be quoted. The default command run (after changing into DIR) is

    find . -name 'PATTERN' -ls

See find-name-arg to customize the arguments.

Probably introduced at or before Emacs version 19.20.

Key Bindings

Aliases

eshell/ff

Source Code

;; Defined in /usr/src/emacs/lisp/find-dired.el.gz
;;;###autoload
(defun find-name-dired (dir pattern)
  "Search DIR recursively for files matching the globbing PATTERN,
and run Dired on those files.
PATTERN is a shell wildcard (not an Emacs regexp) and need not be quoted.
The default command run (after changing into DIR) is

    find . -name \\='PATTERN\\=' -ls

See `find-name-arg' to customize the arguments."
  (interactive
   "DFind-name (directory): \nsFind-name (filename wildcard): ")
  (find-dired dir (concat find-name-arg " " (shell-quote-argument pattern))))