[Geany] Searching on archives problem
Ross McKay
rosko at xxxxx
Wed Feb 25 22:52:24 UTC 2009
Enrico Tröger wrote:
>It is actually described in the manual, see
>http://www.geany.org/manual/current/index.html#filtering-out-version-control-files
>
>The trick is to use the 'Extra options' and tell grep to not care about
>directories like .svn. As also said in the manual, you need a somewhat
>recent grep version (2.5.2) for the --exclude-dir option.
>[...]
For those of us stuck with grep v2.5.1 or earlier (Fedora - so much for
cutting edge!) and who use the shell already, there's always find...
find . -name .svn -prune -o -exec grep -H searchterm '{}' \;
--
Ross McKay, Toronto, NSW Australia
"Nobody ever rioted for austerity" - George Monbiot
More information about the Users
mailing list