use the go to develop a device to show the present disk utilization.
https://github.com/chenquan/diskusage
When you like or are utilizing this challenge to be taught or begin your resolution, please give it a star⭐. Thanks!
$ diskusage -h
A device for exhibiting disk utilization.
Utilization:
diskusage [flags]
Flags:
-a, --all show all directories, in any other case solely show folders whose utilization measurement just isn't 0
-d, --depth int exhibits the depth of the tree listing construction (default 1)
--dir string dir path (default "./")
-f, --filter string common expression filter (default ".+")
-h, --help assist for diskusage
-t, --type strings solely depend sure kinds of information (default all)
-u, --unit string displayed models. non-obligatory: B(Bytes), Ok(KB), M(MB), G(GB), T(TB) (default "M")