$ perl -e 'print +(stat("/tmp"))[7]' 49152
I have no idea whether stat() works on Windows or not, but it's not mentioned in perlport.
In reply to Re: Fastest way to calculate directory size in linux
by DrHyde
in thread Fastest way to calculate directory size in linux
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |