Hi there. I have seen many scripts to delete folders or files based on size or age. But I have not seen any scripts that can delete a directory based on a specific file inside. So I don't know if it's possible. Is it possible for a script to say find every directory that contains the file "trash.txt" and delete that directory? Thanks in advance.
You would have to run the actual PHP file through a CronJob or do it manually, but yes that is very do-able and would only take a few hours to write I suppose. If dont you write PHP it would be fairly easy to figure out.