Link Search Menu Expand Document

Tree

Shows you the file structure with tree lines.

Install

Install with homebrew:

brew install tree

Install with Macports:

sudo port install tree

If you have Fink:

fink install tree

Using tree

Example below, in static-sites folder, run:

tree

Then it will show you the file structure:

static-sites
├── Gatsby
│   ├── README.md
│   ├── building-site.md
│   ├── install.md
│   └── publish-netlify-cms.md
├── Hugo
│   └── README.md
├── README.md
└── jekyll
    ├── building-contents.md
    ├── configure.md
    ├── custom-domain.md
    ├── front-matter.md
    ├── google-analytics.md
    ├── install.md
    ├── publish-to-netlify.md
    ├── readme.md
    └── theme.md