How to hunt down large files and analyze disk usage using NCDU¶
Basic Usage¶
Launch the disk usage analyzer in the current directory.
Launch the disk usage analyzer for a specific directory.
Scan the entire root file system (excluding other mounted file systems to prevent scanning external drives or network shares).
Advanced Scanning and Exporting¶
Scan a directory quietly (reduces UI updates for faster scanning of large file systems).
Scan a directory and export the results to a file for later viewing.
Load and view previously exported disk usage results.
Scan a directory with extended information (enables extended mode).
Scan a directory and enable color output (if supported by terminal).
Interactive UI Keybindings (Inside NCDU)¶
Delete the currently selected file or directory.
Toggle the display of hidden files.
Sort the list by file/directory name.
Sort the list by disk usage size.
Toggle between displaying apparent size and disk usage.
Show information about the currently selected item.
Quit the application.