Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Re: Disk Space used by a folder (and sub folders)by AltBlue (Chaplain) |
on Jan 27, 2001 at 15:56 UTC ( [id://54745]=note: print w/replies, xml ) | Need Help?? |
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) --
In Section
Cool Uses for Perl
|
|