At 04:02 PM 4/13/01 -0700, Paul Fontenot wrote: >Hello, > How can I get a summary of the file sizes in a directory with > perl? Like a >"du -s ." ? du walks the directory tree summing all the components in subdirectories; Perl code to do that is going to be more than a few lines. Any reason you can't do system("du -s .") ? Otherwise you've got some work ahead of you with File::Find, since I can't see any module on CPAN for this. -- Peter Scott Pacific Systems Design Technologies
- file sizes Paul Fontenot
- Re: file sizes Peter Scott
- Re: file sizes Paul Fontenot
- Re: file sizes Peter Scott
- Re: file sizes Paul Fontenot