Article View: gnu.emacs.help
Article #189020Can Dired "find" ?
From: Harel Barzilai
Date: Mon, 06 May 1991 05:51
Date: Mon, 06 May 1991 05:51
24 lines
1501 bytes
1501 bytes
I know I can type "C-x d" and then give a regexp like "*foo*" ; but dired does this *within a given directory* There is an ugly "find" command I can barely use and don't understand well, which can look thru subdirectories, recursively. Is there a way to make dired to this, or does someone have code I could put into my .emacs? I'd like the hypothetical command (invoked by "C-u M-x dired" rather than "M-x dired" say) to let me give a regexp for the file name (I don't know which directory or [sub]*directory the file is in) and for it to list out all matches. If I can specify the "parent" directory (only search recursively *down* from that one) that would be nice, but not crucial. Maybe someone can just post even a macro which does this with "M-x shell" by using "find" but in any case this would be a good feature to add to emacs proper, i.e. dired, I think. Many thanks, Harel
Technical Details
Message-ID:
<1991May6.055120.13435@dartvax.dartmouth.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!hsdndev!dartvax!cabot!harelbReferences:
<JBW.91Apr12233532@bigbird.bu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,b0193c6c491ddd84 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-05-06 01:23:53 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!hsdndev!dartvax!cabot!harelb From: harelb@cabot (Harel Barzilai) Newsgroups: gnu.emacs.help Subject: Can Dired "find" ? Message-ID: <1991May6.055120.13435@dartvax.dartmouth.edu> Date: 6 May 91 05:51:20 GMT References: <JBW.91Apr12233532@bigbird.bu.edu> Sender: news@dartvax.dartmouth.edu (The News Manager) Organization: Dartmouth College, Hanover, NH Lines: 24