|Just another Perl shrine|
Re: How to obtain the size of a remote Winnt4 shareby wufnik (Friar)
|on Jun 18, 2003 at 13:19 UTC||Need Help??|
Asim mentioned earlier the module win32::Dirsize, which copes well with the size problems one can often encounter (witness his use of bigint) in determining the size of remote directories. though he says it is slow, it is certainly faster than summing file sizes via file::find.
here is a scriptlet which demonstrates its use.
which produces something like
hope that helps. yes, it uses map in a void context, but i cannot resist map's allure.
-- in the world of the mules there are no rules --