title: How to find text for a folder pattern using grep
body: <p>I have www folder with lots of php projects. Hidden somewhere is a script in a <code>/cli/</code> folder that I'm trying to find. If I use this in the www folder:</p>
  <pre><code>grep -R &quot;mycode&quot; */cli/*
  </code></pre>
  <p>It's only finding files in <code>projectname/cli/</code></p>
  <p>But the cli folder is in a subdirectory somewhere. So I need it to match <code>projectname/subdir/cli/</code> or <code>projectname/subdir/subdir/cli/</code> etc.</p>