>- see footer for list info -< Wotcha, I have a directory in an app which contains a massive amount of files (>200,000)
Now periodically, I need to run through this dir and weed out redundant files (ie delete them) I used to use cfdirectory, until I discovered that using java.io.file.list() was much more efficient. However, even using that on a folder of 200,000+files is very slow. Is there an alternative anyone can think of? All I need is the filename of each file, rather than lastModified, filesize etc of each item, which is why list() is great Whilst I'm at it, is there a quicker way of getting the number of files in a directory other than using list() and running arraylen() on it? Is there anything in java land that literally just gives me the number of files? Ta. Rich _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
