Subscribefind /path/to/web/directory -atime +61, which should list all files that haven't been read from in the last 61 days. You might want to spider your site first to make sure you don't hit files that nobody happens to have requested in the last two months, and of course you should move them out of the directory tree into a backup instead of just plain deleting… This all assumes you're using a unix, but if this is about the site mentioned in your profile, you are.You are not logged in, either login or create an account to post comments
Otherwise there are a ton of site management programs out there which should have this as a feature, and I think the missing piece of the puzzle is that you're not googling for the phrase "orphaned files"
posted by AmbroseChapel at 2:29 AM on March 3, 2006