See Perl Power Tools - http://language.perl.com/ppt/what.html
See http://testwww.ethz.ch/source/my_scripts_collection/duu for a
script of mine calculating directory sizes (it's like du but more eye
friendly, it displays the subfolders sorted after their size). Its
not the same thing, as it uses du to calculate the size of each
subfolder, but I've had the
Dear Fred,
without testing it, just some ideas. Try to exchange:
To be on the safe side:
> my $_size = -s $File::Find::name;
my $_size = -s $File::Find::fullname;
To count links in:
> find ( $wanted, "$dir" );
find ( { wanted => $wanted, follow => 1 }, $dir );
Che