PHP: is doing a lot of file_exist() calls disk-intensive?
<p>I want to check a certain directory to see if a file exists, and if it does not, copy the missing file from another directory. Basically syncing two folders. I can do so easily with PHP, using the <code>file_exists()</code> function. However, the directory exists of some 20,000 files, so I feel this could be bad for the hard drive (a lot of reads???). Does this make any sense, or is there nothing to worry about?</p>
