On a Windows system of course it is a different matter.$dirsize = `du -ks /home`; $dirsize = (split " ", $dirsize)[0]; print "$dirsize\n\n";
Update: Thanks John for fleshing out the Windows angle.
In reply to Re: diskspace used by a directory
by jlongino
in thread diskspace used by a directory
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |