1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ncdu.md

25 lines
446 B
Markdown
Raw Normal View History

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