http://www.perlmonks.org?node_id=951173

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi

What is the fastest way to calculate directory sizes in linux (that also works on windows)? I have used File::Find module but it is very slow. Also there is Win32::ole module but it is only for windows. Is there any other way to do fast directory size calculation?