I was going through a Neo4j tutorial and the guy ran a tree
command to get a tree structure of a directory. Really nice. It isn't standard on a Mac, but is on Ubuntu. I installed it through homebrew:
brew install tree
Super easy. Now, to run all you need to do is type tree
to get a full folder structure. You can pass in an -L flag, followed by an integer, to limit the depth of the tree, i.e. tree -L 2
shows folders maximum two folders deep.