gdu

Disk usage analyzer with console interface.

TLDR

Interactively show the disk usage of the current directory

$ gdu
copy

Interactively show the disk usage of a given directory

$ gdu [path/to/directory]
copy

Interactively show the disk usage of all mounted disks

$ gdu --show-disks
copy

Interactively show the disk usage of the current directory but ignore some sub-directories

$ gdu --ignore-dirs [path/to/directory1,path/to/directory2,...]
copy

Ignore paths by regular expression

$ gdu --ignore-dirs-pattern '[.*[abc]+]'
copy

Ignore hidden directories

$ gdu --no-hidden
copy

Only print the result, do not enter interactive mode

$ gdu --non-interactive [path/to/directory]
copy

Do not show the progress in non-interactive mode (useful in scripts)

$ gdu --no-progress [path/to/directory]
copy

Copied to clipboard
Swissborg