Open-Source Software Shortcut, Excluding Directories From Grep

Posted on Internet.com See other posts from Internet.com
Published on Tue, 30 Mar 2010 04:00:00 +0100 Indexed on 2010/03/30 23:53 UTC
Read the original article Hit count: 236

Filed under:
<b>Serverwatch:</b> "I work on a project on which I regularly want to grep the directory tree for a particular word but without including the cvs/ and doc/ directories. Happily, grep has an exclude-dir option to do just this:"

© Internet.com or respective owner