Files
tldr/pages.zh/common/dua.md

32 lines
653 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# dua
> Dua磁盘使用分析器获取目录的磁盘空间使用情况。
> 更多信息:<https://github.com/Byron/dua-cli>。
- 分析特定目录:
`dua {{path/to/directory}}`
- 显示表观大小而不是磁盘使用量:
`dua --apparent-size`
- 每次看到硬链接文件时都进行计数:
`dua --count-hard-links`
- 汇总一个或多个目录或文件所占用的空间:
`dua aggregate`
- 启动终端用户界面:
`dua interactive`
- 格式化打印字节计数:
`dua --format {{metric|binary|bytes|GB|GiB|MB|MiB}}`
- 使用特定数量的线程(默认为进程的线程数):
`dua --threads {{count}}`