You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ diskusage -h
A tool for showing disk usage.
GitHub: https://github.com/chenquan/diskusage
Issues: https://github.com/chenquan/diskusage/issues
Usage:
diskusage [flags]
Flags:
-a, --all display all directories, otherwise only display folders whose usage size is not 0
-c, --color string set color output mode. optional: auto, always, ignore (default "auto")
-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")
-v, --version version for diskusage
👀example
Only files named Doc or docx are counted: diskusage -t doc,docx or diskusage -f ".+\.(doc|docx)$"
The maximum display unit is GM: diskusage -u G
Supports color output to pipeline: diskusage -c always | less -R or diskusage -c always | more
The text was updated successfully, but these errors were encountered:
项目地址:https://github.com/chenquan/diskusage
👀example
diskusage -t doc,docx
ordiskusage -f ".+\.(doc|docx)$"
diskusage -u G
diskusage -c always | less -R
ordiskusage -c always | more
The text was updated successfully, but these errors were encountered: