HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dutree — Analyze file system usage with colorful text-based trees. More information: <https://github.com/nach

Submitted by: @import:tldr-pages··
0
Viewed 0 times
usagecommanddutreeanalyzeclifilewithsystem
linux

Problem

How to use the dutree command: Analyze file system usage with colorful text-based trees. More information: <https://github.com/nachoparker/dutree#usage>.

Solution

dutree — Analyze file system usage with colorful text-based trees. More information: <https://github.com/nachoparker/dutree#usage>.

Show a graphical tree of the current directory:
dutree


Show a specific directory:
dutree {{path/to/directory}}


Aggregate items smaller than a number of KB (or M for MB, or G for GB):
dutree --aggr {{number}}K


Show subdirectories up to the specified depth (default is 1):
dutree --depth {{depth}}


Skip directories for a fast local overview:
dutree --files-only


Exclude hidden files:
dutree --no-hidden

Code Snippets

Show a graphical tree of the current directory

dutree

Show a specific directory

dutree {{path/to/directory}}

Aggregate items smaller than a number of KB (or M for MB, or G for GB)

dutree --aggr {{number}}K

Show subdirectories up to the specified depth (default is 1)

dutree --depth {{depth}}

Skip directories for a fast local overview

dutree --files-only

Context

tldr-pages: linux/dutree

Revisions (0)

No revisions yet.