title: How to find files with specific extensions recursively using the for/in syntax?
body: <p>I would like to do something like this:</p>
  <pre><code>for file in *.sh; do
    echo &quot;$file&quot;
  done
  </code></pre>
  <p>But recursively, so something equivalent to this (but this doesn't work):</p>
  <pre><code>for file in **/*.sh; do
    echo &quot;$file&quot;
  done
  </code></pre>
  <p>Is there a nice and succinct way of doing this?  I really like the <code>for x in y</code> syntax.</p>
  <p>Is there a nice way of combining this with the <code>find</code> command?  I've seen quite a bit of articles using <code>find</code>, but the files where never really looped over in the examples I've found.</p>
  <p>Thank you for your time :)</p>