1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/dua.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

32 lines
680 B
Markdown

# 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-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}}`