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

Dobby33 @dobby33

Joined:
Feb 8, 2025

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

Publish Date: Feb 26
0 0

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
    |

Comments 0 total

    Add comment