title: How to exclude multiple directories that match a glob pattern in "grep -R"?
body: <p>I have some directories with names like "mm-yyyy" (01-2014) in current directory.  I want to grep the files in directories whose names have "2013".  How can I exclude directories whose names don't have "2013"?  I tried the following but it didn't work:</p>
  
  <pre><code>grep hill * -R --exclude-dir=*201[0-2]
  </code></pre>
  
  <p>It still went through all sub-directories to do grep.  </p>