From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: using find-grep in emacs
Date: Wed, 15 May 2013 21:46:40 +0200 [thread overview]
Message-ID: <5193E620.1070603@easy-emacs.de> (raw)
In-Reply-To: <985b9ada-31f9-4761-bfdf-366a40d45760@googlegroups.com>
Am 15.05.2013 21:11, schrieb Rami A:
> Andreas, Thanks a lot. Is there a way to search in specific directories?
Sure.
Specify the directory following "find"
i.e. find .
assumes the current directory, so try
find ./main/source
find ./main/headers/
etc.
or do some scripting like
for i in "./main/source" "./main/headers/" "./main/something1" "./main/something2"; do
...
done
> I have my main directory lets say ./main/ then I have multiple directories underneath ./main/source ./main/headers/ ./main/something1 ./main/something2...etc I want to
> only specify the search to be for directories "headers" and "source" once I specified ./main as my default grep destination.
>
next prev parent reply other threads:[~2013-05-15 19:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 23:47 using find-grep in emacs Rami A
2013-05-14 0:45 ` Dan Espen
2013-05-14 2:36 ` Barry Margolin
2013-05-14 13:31 ` Ludwig, Mark
2013-05-14 4:45 ` Bob Proulx
2013-05-14 11:48 ` Andreas Röhler
2013-05-14 15:27 ` Peter Dyballa
2013-05-14 15:42 ` Bob Proulx
2013-05-14 17:19 ` Andreas Röhler
[not found] ` <mailman.25743.1368546134.855.help-gnu-emacs@gnu.org>
2013-05-14 19:41 ` Barry Margolin
2013-05-15 18:25 ` Rami A
2013-05-15 18:49 ` Dan Espen
2013-05-15 18:51 ` Andreas Röhler
[not found] ` <mailman.25858.1368643771.855.help-gnu-emacs@gnu.org>
2013-05-15 19:11 ` Rami A
2013-05-15 19:46 ` Andreas Röhler [this message]
2013-05-15 21:23 ` Peter Dyballa
2013-05-16 5:10 ` Andreas Röhler
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=5193E620.1070603@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--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).