snippetbashTip
dua — Dua (Disk Usage Analyzer): get the disk space usage of a directory. More information: <https://githu
Viewed 0 times
duausagecommanddiskclianalyzerget
Problem
How to use the
dua command: Dua (Disk Usage Analyzer): get the disk space usage of a directory. More information: <https://github.com/Byron/dua-cli>.Solution
dua — Dua (Disk Usage Analyzer): get the disk space usage of a directory. More information: <https://github.com/Byron/dua-cli>.Analyze specific directory:
dua {{path/to/directory}}Display apparent size instead of disk usage:
dua --apparent-sizeCount hard-linked files each time they are seen:
dua --count-hard-linksAggregate the consumed space of one or more directories or files:
dua aggregateLaunch the terminal user interface:
dua interactiveFormat printing byte counts:
dua --format {{metric|binary|bytes|GB|GiB|MB|MiB}}Use a specific number of threads (defaults to the process number of threads):
dua --threads {{count}}Code Snippets
Analyze specific directory
dua {{path/to/directory}}Display apparent size instead of disk usage
dua --apparent-sizeCount hard-linked files each time they are seen
dua --count-hard-linksAggregate the consumed space of one or more directories or files
dua aggregateLaunch the terminal user interface
dua interactiveContext
tldr-pages: common/dua
Revisions (0)
No revisions yet.