snippetbashTip
gdu — Disk usage analyzer with console interface. More information: <https://github.com/dundee/gdu#usage>.
Viewed 0 times
usagecommanddiskgducliconsolewithanalyzer
Problem
How to use the
gdu command: Disk usage analyzer with console interface. More information: <https://github.com/dundee/gdu#usage>.Solution
gdu — Disk usage analyzer with console interface. More information: <https://github.com/dundee/gdu#usage>.Interactively show the disk usage of the current directory:
gduInteractively show the disk usage of a given directory:
gdu {{path/to/directory}}Interactively show the disk usage of all mounted disks:
gdu --show-disksInteractively show the disk usage of the current directory but ignore some sub-directories:
gdu --ignore-dirs {{path/to/directory1,path/to/directory2,...}}Ignore paths by
regex:gdu --ignore-dirs-pattern '{{.*[abc]+}}'Ignore hidden directories:
gdu --no-hiddenOnly print the result, do not enter interactive mode:
gdu --non-interactive {{path/to/directory}}Do not show the progress in non-interactive mode (useful in scripts):
gdu --no-progress {{path/to/directory}}Code Snippets
Interactively show the disk usage of the current directory
gduInteractively show the disk usage of a given directory
gdu {{path/to/directory}}Interactively show the disk usage of all mounted disks
gdu --show-disksInteractively show the disk usage of the current directory but ignore some sub-directories
gdu --ignore-dirs {{path/to/directory1,path/to/directory2,...}}Ignore paths by `regex`
gdu --ignore-dirs-pattern '{{.*[abc]+}}'Context
tldr-pages: common/gdu
Revisions (0)
No revisions yet.