Files
tldr/pages/common/dua.md
Vitor Henrique d79a1667e3 pages*: refine wording (#12132)
* pages*: refine wording

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-02-09 19:25:36 +05:30

722 B

dua

Dua (Disk Usage Analyzer) is a tool to conveniently learn about the usage of disk space of a given 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-size

  • Count hard-linked files each time they are seen:

dua --count-hard-links

  • Aggregate the consumed space of one or more directories or files:

dua aggregate

  • Launch the terminal user interface:

dua interactive

  • Format 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}}