title: Set recursion depth
body: <p>I'm currently facing the problem that I have to do an operation in every first dir "layer" of a directory.</p>
  
  <p>I have a folder with thousands of sub dirs, I would just dor a for loop with /r but the problem is, those sub-dirs contain more sub-dirs an I don't want to go into those.
  For visualization:</p>
  
  <pre><code>Root Dir
  ----Sub-Dir 1
  --------Sub-Dir 1 of Sub-Dir 1
  --------Sub-Dir 2 of Sub-Dir 1
  ----Sub-Dir 2
  --------Sub-Dir 1 of Sub-Dir 2
  --------Sub-Dir 2 of Sub-Dir 2
  ----Sub-Dir 3
  --------Sub-Dir 1 of Sub-Dir 3
  --------Sub-Dir 2 of Sub-Dir 3
  </code></pre>
  
  <p>and I only want to go into the first "layer" Sub-Dir 1,2,3 etc. and don't touch the sub-sub-dirs of each.</p>