Tag Archives: grep

Exclude directories from recursive grep

How often are you using grep in subversionned folders like that : grep -rni foobar . | grep -v .svn Upgrade to grep 2.5.3 and use (alias it ?) grep -rni –exclude-dir .svn foobar . (or … stop using SVN … Continue reading

Posted in unix | Tagged , | 1 Comment