On 7/7/06, Omega -1911 <[EMAIL PROTECTED]> wrote:
1. The script has to open a rather large number of files (100,000).
2. Instead of opening all of them, I am trying to only open those files
where the file was actually MODIFIED not just accessed within the
last 20 minutes.
The implementation log
The documentation seems to indicate that the -M is the number of days
older than the script start time the file modification time is. I think
what you want would be something like:
If( (stat $path)[9] > time - 1200 ){
Do something...
}
Which will get the 10th (starts from 0) element of