View Single Post
Old 12-17-2007, 10:09 AM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally Posted by k0nr4d View Post
there's no way to determine what's been accessed. Its possible to do this based on last modified date.

Unless you want it to sift through gigabytes of server logs, in which case php is still not the right language for that
FreeBSD records the last time a file was accessed, unless the "noatime" modifier was used when mounting the volume. I'd say Linux also supports this. It shouldn't be too hard to come up with a "find" command that spits out files that have not been touched for a year. I'm too tired to try
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote