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 making profitable digital businesses less brittle, less founder-dependent and easier to run.

Expect practical notes on backups, safer deploys, infrastructure as code, observability, documentation and automation. 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.