in reply to quick way to read a few directory entries of many
How often do the files in the directory change?
If it is not very often, you could run a cron job to put the list of files or a subset of the list of files into a separate file, then obtain your 5 file names from that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: quick way to read a few directory entries of many
by leocharre (Priest) on Jun 05, 2008 at 18:23 UTC |