in reply to Filesize counting recursive

i think you're going about this all wrong. what's wrong with du -s from the shell prompt? why use perl when a much simpler and faster command already exists? if you absolutely need to get this into perl, try my $dirsize = `du -s`.

Replies are listed 'Best First'.
RE: Re: Filesize counting recursive
by BBQ (Curate) on Jan 26, 2000 at 21:33 UTC
    du works, but its not cross-platform. As you may have noted in the original question, he's developing on an NT box and deploying on *nix... vroom hit the spot, me thinks! :o)