in reply to Re: Re: Disk Space used by a folder (and sub folders)
in thread Disk Space used by a folder (and sub folders)
error on getting (stat)[11] could get you a division
by zero. i don't have any win32 machines to test this snippet on them, so good luck :)
on linux and solaris it works ok, outputs exactly the same as du -b. :)
(one quick solution w'd ofc be an 'and' between those two lines in my subroutine)
on linux and solaris it works ok, outputs exactly the same as du -b. :)
(one quick solution w'd ofc be an 'and' between those two lines in my subroutine)
--
AltBlue.
|
---|
Replies are listed 'Best First'. | |
---|---|
(stat)[11] under Win32 (Re: Disk Space used by a folder)
by tye (Sage) on Jan 28, 2001 at 05:05 UTC |
In Section
Cool Uses for Perl