Tree (Cmdline Util)
I wonder why it took until today for me to run into the tree
command line
utility. It prints your directory tree structure (so it’s useful for visualizing
small-medium folder structures).
# Example: list directories up to 2 levels deep in my $GOPATH dir.
tree -L 2 -d
.
├── bin
├── pkg
│ └── linux_amd64
└── src
├── github.com
├── golang.org
└── google.golang.org
7 directories