<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1044270" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1044270</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Hmmm, that means we&#039;ve been</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243146</link>
    <description> &lt;p&gt;Hmmm, that means we&#039;ve been acquanted for quite a while. You used to use Gentoo, if memory serves. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;That would have been back in 2005/6 we were talking about such things.&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Jul 2009 19:06:00 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1243146 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I don&#039;t have root access on</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243139</link>
    <description> &lt;p&gt;I don&#039;t have root access on this server. Maybe I&#039;ll have to bug the sys admins to either install this or upgrade grep.&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Jul 2009 15:59:15 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1243139 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Megan wrote:
&quot;command not</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243138</link>
    <description> &lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;Megan&lt;/em&gt; wrote:&lt;/div&gt;&quot;command not found&quot; :(&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;It&#039;s not likely to have been installed by default.  Try adding it with your package manager.  On Debian or Ubuntu:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$ sudo aptitude install ack-grep&lt;br /&gt;$ ack-grep --help&lt;br /&gt;Usage: ack [OPTION]... PATTERN [FILE]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Search for PATTERN in each source file in the tree from cwd on down.&lt;br /&gt;...&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Jul 2009 15:53:00 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1243138 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>&quot;command not found&quot;</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243136</link>
    <description> &lt;p&gt;&quot;command not found&quot; &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Jul 2009 15:12:37 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1243136 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>JeevesBond wrote:
ack seems</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243120</link>
    <description> &lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;JeevesBond&lt;/em&gt; wrote:&lt;/div&gt;ack seems interesting. (offtopic) are you a Debian man now Abhi?&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I have been using Debian mainly since at least early 2007, maybe even 2006 if memory serves.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 Jul 2009 20:05:42 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1243120 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>How about:
find . -not -path</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243116</link>
    <description> &lt;p&gt;How about:&lt;br /&gt;
&lt;code&gt;find . -not -path &amp;#039;*/.svn*&amp;#039; | xargs grep -i &amp;quot;string&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;ack seems interesting. (offtopic) are you a Debian man now Abhi?&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 Jul 2009 13:29:09 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1243116 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Try ack.  Your two searches</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243095</link>
    <description> &lt;p&gt;Try &lt;a href=&quot;http://betterthangrep.com/&quot;&gt;ack&lt;/a&gt;.  Your two searches would look something like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ack -ai &amp;quot;string&amp;quot;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;ack -ai --ignore-dir=log &amp;quot;string&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;By default, it ignores .svn and other common version-control or backup cruft.  Also, it defaults to a recursive search (use -n to prevent that).&lt;/p&gt;
&lt;p&gt;Btw, on Debian the program is called &lt;code&gt;ack-grep&lt;/code&gt; -- may not be the same on your distro.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Jun 2009 21:42:00 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1243095 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>What if I want to exclude</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243094</link>
    <description> &lt;p&gt;What if I want to exclude more than one directory? Say, &lt;code&gt;.svn&lt;/code&gt; and &lt;code&gt;log&lt;/code&gt;?&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Jun 2009 19:33:45 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1243094 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>This works:
grep -iR</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/exclude-directories-recursive-grep-without-exclude-dir#comment-1243058</link>
    <description> &lt;p&gt;This works:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;grep -iR &amp;quot;string&amp;quot; * | grep -v &amp;quot;.svn&amp;quot;&lt;/code&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 29 Jun 2009 20:22:30 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1243058 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
