title: List all directories recursively in a tree format
body: <p>I want to simulate a <code>tree</code> command using Shell Script that displays all the directories recursively in this format:</p>
  
  <pre><code>.
  |-- Lorem
  |-- Lorem
  |-- Lorem
      |-- Lorem
      |-- Lorem
  |-- Lorem
  `-- Lorem
  </code></pre>
  
  <p>How can I do that?</p>