Interactive Disk Usage With gdu
Drill into directory sizes with a keyboard-driven analyzer.
Run gdu to analyze the current directory, or gdu /path for another location.
01Command
Command
$ gdu02What it does
gdu scans directories quickly, then shows a sortable list with percentages and supports navigating into subdirectories, deleting entries and toggling apparent versus disk size. It is especially fast on SSDs because it reads in parallel.
03Risk
!Warning: The interface can delete files if you press the delete key; confirm the selection before acting.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Homebrew formula: gduEvidence: Packages gdu, a fast interactive disk usage analyzer with a TUI.
Last verified: 2026-09-22 · Category: Files & Folders
06Related solutions
Find files larger than 500 MB on Mac
List the biggest files in your home folder that are eating disk space.
Batch-rename file extensions on Mac (jpeg → jpg)
Change the extension of every matching file in a folder with one shell loop.
Hide any file or folder on Mac
Make a file or folder invisible in Finder without moving or renaming it.