2025-03-14 21:59:59 -06:00
|
|
|
# ncdu
|
|
|
|
|
|
|
|
|
|
> Disk usage analyzer with an ncurses interface.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://dev.yorhel.nl/ncdu/man>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}'`
|