The tree command was “not found” on Mac OS so here is what I did to get it.
brew install tree
Then you can use it like this:
tree -L 3
.
└── sub-dir1
├── file-in-sub-dir1
└── sub-dir2
└── file-in-sub-dir2
The tree command was “not found” on Mac OS so here is what I did to get it.
brew install tree
Then you can use it like this:
tree -L 3
.
└── sub-dir1
├── file-in-sub-dir1
└── sub-dir2
└── file-in-sub-dir2