tldr/pages/common/ncdu.md

25 lines
446 B
Markdown
Raw Normal View History

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