Answer: ASCII Library for Creating "Pretty" Directory Trees?

answer re: ASCII Library for Creating "Pretty" Directory Trees? Nov 14 '12 90 That oneliner is pretty cool, I'd recommend using the tree util. bash-3.2$ mkdir -p this/is/some/nested/example bash-3.2$ mkdir -p this/is/another/super/nested/example bash-3.2$ mkdir -p this/is/yet/another/example bash-3.2$ mkdir -p this/is/some/nested/other/example bash-3.2$ tree this this `-- is |-- another | `-- super | `-- nested | `-- example |-- some | `-- nested |… Open Full Answer

Feb 26, 2025 - 20:44
 0
Answer: ASCII Library for Creating "Pretty" Directory Trees?

That oneliner is pretty cool, I'd recommend using the tree util.

bash-3.2$ mkdir -p this/is/some/nested/example
bash-3.2$ mkdir -p this/is/another/super/nested/example
bash-3.2$ mkdir -p this/is/yet/another/example
bash-3.2$ mkdir -p this/is/some/nested/other/example
bash-3.2$ tree this
this
`-- is
    |-- another
    |   `-- super
    |       `-- nested
    |           `-- example
    |-- some
    |   `-- nested
    |