mirror of https://github.com/CrimsonTome/tldr.git
20 lines
350 B
Markdown
20 lines
350 B
Markdown
|
# ncdu
|
||
|
|
||
|
> Disk usage analyzer with an ncurses interface.
|
||
|
|
||
|
- Analyze the current working directory:
|
||
|
|
||
|
`ncdu`
|
||
|
|
||
|
- Analyze a given directory:
|
||
|
|
||
|
`ncdu {{path/to/directory}}`
|
||
|
|
||
|
- Save results to a file:
|
||
|
|
||
|
`ncdu -o {{path/to/file}}`
|
||
|
|
||
|
- Exclude files that match a pattern, argument can be given multiple times to add more patterns:
|
||
|
|
||
|
`ncdu --exclude '{{*.txt}}'`
|