1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages/common/ncdu.md
2022-02-26 20:00:32 +10:00

24 lines
446 B
Markdown

# ncdu
> Disk usage analyzer with an ncurses interface.
> More information: <https://manned.org/ncdu>.
- Analyze the current working directory:
`ncdu`
- Colorize output:
`ncdu --color {{dark|off}}`
- 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}}'`