in reply to Re: getting filesize in windows
in thread getting filesize in windows

And since it's on windows, use this version:
perl -MFile::Find -le "find ( sub { $s+= -s if /mp3$/i }, '.' );print +'size ',$s"

He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/

Replies are listed 'Best First'.
Re: Re: Re: getting filesize in windows
by Peamasii (Sexton) on Aug 23, 2003 at 22:45 UTC
    The sample worked. In fact I went back to doing this with File::Recurse because the rest of the code used that package. But File::Find essentially did the same recursive search. Thanks