Previous: Include Additional Directories, Up: Working Across Directories [Index]
To recursively apply a dired or shell command, use Emac’s find
wrapper
commands.
All commands take the output of find and build a dired buffer relative to a starting directory. Emacs is clever enough to notice the relative paths in what was the filename portion of the buffer. All commands in dired work as usual.
Commands | Description |
---|---|
find-dired | Calls find with a pattern |
find-name-dired | Calls find with ‘-name’ using glob patterns |
find-grep-dired | Calls find and grep |
find-lisp-find-dired | Uses Emacs and regexp to find files (elisp implementation) |
does not use shell globbing |