Hacker News new | ask | show | jobs
by laserbeam 1462 days ago
I used to have my desktop as a downloads and temporary files area. I had a cron job set up which moved all files unmodified in a couple days to a separate temp archive folder. I had another cron job which deleted all files older than 6 months from that archive folder. (By older, I mean comparing the last modified date).

The act of moving a file away from the desktop or that archive folder meant I wanted to keep it.

Bonus points: my desktop tended to be clean despite me creating lots of random temporary files on it.

At some point, while switching between OSes, I stopped porting that 2 scripts. I should probably write them again...