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}}'
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.