du
Description:
estimate file space usage
This command runs the "du -s" command to estimate file space usage for path.
path can be a file or a directory. If path is a directory then the estimate includes the contents of the directory
and all subdirectories (recursively).
The result is the estimated size in *kilobytes* (ie. units of 1024 bytes).
Parameters:
| this |
A GuestfsSession object |
Returns:
|
the returned value, or -1 on error |