mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 16:56:57 +00:00
Update cheatsheets
This commit is contained in:
37
dua
Normal file
37
dua
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user