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

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

Re: using find-grep in emacs


From: Andreas Röhler
Subject: Re: using find-grep in emacs
Date: Wed, 15 May 2013 21:46:40 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

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.





reply via email to

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