|Just another Perl shrine|
Re^4: fast count filesby cdarke (Prior)
|on Jan 06, 2012 at 11:10 UTC||Need Help??|
You might have issues using wc -l on Windows, unless you have installed it from somewhere like GNU. However it is easy to implement your own in Perl.
Based on BrowserUk's ideas:
Gives: 380366 : 135 on a used space of 297GB.