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

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

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


From: weber
Subject: Re: how to tell find-grep-dired skip binary files?
Date: Tue, 3 Jun 2008 03:32:57 -0700 (PDT)
User-agent: G2/1.0

On Jun 3, 7:15 am, sunway <sunwayfore...@gmail.com> 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


reply via email to

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