• 0

Display contents of a directory as a tree on mac osx

Run this command from your mac terminal to display your directory structure as an ascii tree.

tree -I

If you need to ignore a directory, just mention it in single quotes.

tree -I ‘node_modules’