Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Similar but mine is ~/tmp and I have a cron job that deletes any files/folders over 30 days old.


Oh man, that's smart. Would you mind sharing that script?


You could use something like this:

   find /tmp -type f -mtime +30 -delete




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: