all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sunway <sunwayforever@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to tell find-grep-dired skip binary files?
Date: Tue, 3 Jun 2008 04:15:41 -0700 (PDT)	[thread overview]
Message-ID: <272a04dd-ffe3-4152-be3d-3fd832c85a30@z16g2000prn.googlegroups.com> (raw)
In-Reply-To: 1707cb09-cb91-42cc-84d1-8584dcaa1c72@y38g2000hsy.googlegroups.com

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?


  reply	other threads:[~2008-06-03 11:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03 10:15 how to tell find-grep-dired skip binary files? sunway
2008-06-03 10:32 ` weber
2008-06-03 11:15   ` sunway [this message]
2008-06-03 13:51     ` Thierry Volpiatto
2008-06-03 18:33     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=272a04dd-ffe3-4152-be3d-3fd832c85a30@z16g2000prn.googlegroups.com \
    --to=sunwayforever@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.