Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

How to calculate the largest directory excluded subdirectories?

$
0
0
Hi,

I just start up with PERL.And I got a question about if I've been given a zip file which has a lot of files and directories in it.I need to output the largest directory without including the subdirectories.How to sum all the files in the directory without summing the size of the subdirectory?
Look forward to hearing from you.

Viewing all articles
Browse latest Browse all 2703

Trending Articles