From: "Drew Adams" <drew.adams@oracle.com>
To: "Peter Dyballa" <Peter_Dyballa@Web.DE>, "Denis Bueno" <dbueno@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: RE: Interactively finding file in a list of directories
Date: Fri, 9 Mar 2007 13:25:56 -0800 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICKEHIDLAA.drew.adams@oracle.com> (raw)
In-Reply-To: <C9A1E838-C316-4C34-BF11-D37F238EADC9@Web.DE>
> > For example, assume there are 4 different files all named "find.jsp"
> > in different directories, and I would like to find a particular one. I
> > would do M-x find-resource, type "find", hit TAB, it I would see a
> > list that looks something like:
>
> There is an interface to the UNIX locate database (M-x locate RET
> pattern RET). Regularly, once a day or once a weekly, the whole disk
> is searched and all path names, files and directories, but no
> "special files," are recorded in a database or hash file. The command
> locate takes as argument a search pattern that allows a few
> metacharacters and looks up this pattern in the database, so it's
> much faster than find. Executing locate as a shell command, you could
> filter a bit more with grep what locate returns ...
The link I gave earlier provides info on several such Emacs interfaces to a
UNIX or GNU/Linux `locate' database:
http://www.emacswiki.org/cgi-bin/wiki/LocateFilesAnywhere.
next prev parent reply other threads:[~2007-03-09 21:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-09 15:52 Interactively finding file in a list of directories Denis Bueno
2007-03-09 16:20 ` Drew Adams
2007-03-09 20:51 ` Peter Dyballa
2007-03-09 21:25 ` Drew Adams [this message]
2007-03-09 22:13 ` Denis Bueno
2007-03-09 22:59 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DNEMKBNJBGPAOPIJOOICKEHIDLAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=Peter_Dyballa@Web.DE \
--cc=dbueno@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).