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