mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
666 B
Plaintext
34 lines
666 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|