help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dired narrowing?


From: Alexandre Russel
Subject: Re: Dired narrowing?
Date: 03 Oct 2004 16:43:04 +0900
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

bgm-rao@ieee.org writes:

> How do I narrow a dired buffer to see only files with a regexp
> name?
what about M-x find-grep-dired
that would call the following function:

find-grep-dired is an interactive compiled Lisp function in `find-dired'.
(find-grep-dired dir regexp)

Find files in dir containing a regexp regexp and start Dired on output.
The command run (after changing into dir) is

    find . -exec grep -s -e regexp {} \; -ls

Thus ARG can also contain additional grep options.

Alex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]