CLI Snippet: View Path Content as a Tree

TAGS: SNIPPET

Sometimes I need one of those fancy directory overview-ish examples for a peace of writing - be it docs or new article.

Here’s a tool which can help with that. Say hi to tree.

Installation

I’m guessing for the non-mac part here:

# mac:
$ brew install tree
# ubuntu-ish
$ sudo apt-get install tree

Usage

$ tree PATH_YOU_CARE_ABOUT
$ tree .

This will spit out a nice shiny overview of the directory in question!

You can see an example in the article over here.

Get updates
You will get emails when I publish something new or have something useful to share about exploratory tools, software systems, infrastructure, and making complexity easier to understand.

Expect practical writing on internal tools, data workflows, Docker, automation, and programming. Usually no more than one email per week. You can unsubscribe at any time.

Für den Versand unserer Newsletter nutzen wir rapidmail. Mit Ihrer Anmeldung stimmen Sie zu, dass die eingegebenen Daten an rapidmail übermittelt werden. Beachten Sie bitte auch die AGB und Datenschutzbestimmungen .

vsupalov.com

© 2024 vsupalov.com. All rights reserved.