[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to tell find-grep-dired skip binary files?
From: |
sunway |
Subject: |
Re: how to tell find-grep-dired skip binary files? |
Date: |
Tue, 3 Jun 2008 04:15:41 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Jun 3, 6:32 pm, weber <hug...@gmail.com> wrote:
> 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
that helps, but how to ignore files like .svn/* also?