<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Skip .svn directories when using grep</title>
	<atom:link href="http://www.zulius.com/how-to/grep-skip-svn-directories/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zulius.com/how-to/grep-skip-svn-directories/</link>
	<description>Advanced Application Development</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:41:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Tim White</title>
		<link>http://www.zulius.com/how-to/grep-skip-svn-directories/comment-page-1/#comment-371</link>
		<dc:creator>Tim White</dc:creator>
		<pubDate>Fri, 01 Jul 2011 17:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=383#comment-371</guid>
		<description>@Thomas - exclude-dir is available with grep 2.5.3+.  You can check your grep version with grep -V</description>
		<content:encoded><![CDATA[<p>@Thomas - exclude-dir is available with grep 2.5.3+.  You can check your grep version with grep -V</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Hunter</title>
		<link>http://www.zulius.com/how-to/grep-skip-svn-directories/comment-page-1/#comment-370</link>
		<dc:creator>Thomas Hunter</dc:creator>
		<pubDate>Fri, 01 Jul 2011 16:54:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=383#comment-370</guid>
		<description>$ grep --exclude-dir=&#039;.git&#039;
grep: unrecognized option `--exclude-dir=.git&#039;</description>
		<content:encoded><![CDATA[<p>$ grep --exclude-dir='.git'<br />
grep: unrecognized option `--exclude-dir=.git'</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Brubeck Unhammer</title>
		<link>http://www.zulius.com/how-to/grep-skip-svn-directories/comment-page-1/#comment-302</link>
		<dc:creator>Kevin Brubeck Unhammer</dc:creator>
		<pubDate>Tue, 22 Feb 2011 09:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=383#comment-302</guid>
		<description>I have this in my ~/.bashrc:

export GREP_OPTIONS=&quot;--exclude-dir=.svn --exclude-dir=.git&quot;</description>
		<content:encoded><![CDATA[<p>I have this in my ~/.bashrc:</p>
<p>export GREP_OPTIONS="--exclude-dir=.svn --exclude-dir=.git"</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim White</title>
		<link>http://www.zulius.com/how-to/grep-skip-svn-directories/comment-page-1/#comment-202</link>
		<dc:creator>Tim White</dc:creator>
		<pubDate>Thu, 06 May 2010 17:11:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=383#comment-202</guid>
		<description>@Chris AFAIK, yes, your example is the easiest way to do that.</description>
		<content:encoded><![CDATA[<p>@Chris AFAIK, yes, your example is the easiest way to do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.zulius.com/how-to/grep-skip-svn-directories/comment-page-1/#comment-201</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 06 May 2010 15:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=383#comment-201</guid>
		<description>Great tip thanks!

What about when you want to exclude multiple directories?
Do you have to type --exclude-dir multiple times or is there another way?

Example:
$ grep -r --exclude-dir=&#039;.svn&#039; --exclude-dir=&#039;debug&#039; --exclude-dir=&#039;templates&#039; &#039;my search string&#039; /some/directory</description>
		<content:encoded><![CDATA[<p>Great tip thanks!</p>
<p>What about when you want to exclude multiple directories?<br />
Do you have to type --exclude-dir multiple times or is there another way?</p>
<p>Example:<br />
$ grep -r --exclude-dir='.svn' --exclude-dir='debug' --exclude-dir='templates' 'my search string' /some/directory</p>
]]></content:encoded>
	</item>
</channel>
</rss>

