2020-10-05 18:15:21 +03:00
|
|
|
# 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`
|
|
|
|
|
2020-10-27 09:31:24 +03:00
|
|
|
- Aggregate the consumed space of one or more directories or files:
|
2020-10-05 18:15:21 +03:00
|
|
|
|
|
|
|
`dua aggregate`
|
|
|
|
|
|
|
|
- Launch the terminal user interface:
|
|
|
|
|
|
|
|
`dua interactive`
|
|
|
|
|
|
|
|
- Format printing byte counts:
|
|
|
|
|
|
|
|
`dua --format {{metric|binary|bytes|GB|GiB|MB|MiB}}`
|
|
|
|
|
|
|
|
- Set the number of threads to be used:
|
|
|
|
|
|
|
|
`dua --threads {{count}}`
|