[Top][All Lists]

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

Re: how to tell find-grep-dired skip binary files?

From: Thierry Volpiatto
Subject: Re: how to tell find-grep-dired skip binary files?
Date: Tue, 03 Jun 2008 15:51:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

sunway <address@hidden> writes:

> On Jun 3, 6:32 pm, weber <address@hidden> wrote:
>> On Jun 3, 7:15 am, sunway <address@hidden> wrote:
>> > when using find-grep-dired in dired, I only care about plain text
>> > files like *.c, *.cpp,etc, How to tell find-grep-dired skip files I
>> > don't care,like binary files and .svn/*..
>> From the man
>>        -I     Process  a  binary file as if it did not contain
>> matching data; this is equivalent to the --binary-files=without-match
>> option.
>> so just add -I to the find-grep-options variable and you're good to
>> go.
>> HTH,
>> Hugo
> that helps, but how to ignore files like  .svn/* also?
Alternatively, you can use TraverseDirectory that work with python as
Thats faster than grep/find and fully configurable.(just add .svn or
what you want to the conf file) 

A + Thierry
Pub key:

reply via email to

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