Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have to gather the total files on a directory for which I used the File::Find and Win32::Ole modules , but the results given by these is very slow as the number of disk size increases. What is the fastest way to find total number of files in a directory(I don't need any other statistics except the total files in the directory) ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Gather file count in directory
by umasuresh (Hermit) on Jan 05, 2012 at 12:46 UTC | |
by Anonymous Monk on Jan 06, 2012 at 06:47 UTC | |
|
Re: Gather file count in directory
by ~~David~~ (Hermit) on Jan 05, 2012 at 14:22 UTC | |
by mr.nick (Chaplain) on Jan 05, 2012 at 18:14 UTC | |
by Anonymous Monk on Jan 06, 2012 at 06:24 UTC | |
|
Re: Gather file count in directory
by trizen (Hermit) on Jan 06, 2012 at 01:20 UTC | |
by Anonymous Monk on Jan 06, 2012 at 06:27 UTC |