[给力]推荐一个帮助你快速掌握电脑磁盘占用情况的小工具. 该工具支持根据文件类型过滤,同时也支持使用正则表达式过滤,可快速定位到你想要找的文件在磁盘中占用情况.
github.com

$ diskusage -h
A tool for showing disk usage.

Usage:
diskusage [flags]

Flags:
-a, --all display all directories, otherwise only display folders whose usage size is not 0
-d, --depth int shows the depth of the tree directory structure (default 1)
--dir string dir path (default "./")
-f, --filter string regular expression filter (default ".+")
-h, --help help for diskusage
-t, --type strings only count certain types of files (default all)
-u, --unit string displayed units. optional: B(Bytes), K(KB), M(MB), G(GB), T(TB) (default "M")

#码上掘金#
展开
chenquan于2022-08-08 00:25发布的图片
评论