I have an external disk that is connected to a LAN network.
I want to find the disk usage of a directory on the disk from a script. I looked at power shell and SysInternals tools but couldn't find any solution. Any ideas?
Thanks.
|
I have an external disk that is connected to a LAN network. Thanks.
| |||
|
feedback
|
|
Powershell makes it possible in the following way: Size in MB
Size in GB
Maybe in TB
| ||||
feedback
|
|
You could try any of the TreeSize type tools, for instance http://dev.carl-thomas.net/Utils/TreeSize/index.htm | |||
feedback
|
|
There is also a Microsoft Tool called Diruse.
You can find more about diruse here | |||
|
feedback
|
|
Cygwin's du will do the trick as well.
There you go: the twenty largest directory sizes (in K). | ||||
|
feedback
|