Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rsyring
on Nov 8, 2021
|
parent
|
context
|
favorite
| on:
Designing better file organization around tags, no...
Similar but mine is ~/tmp and I have a cron job that deletes any files/folders over 30 days old.
spicybright
on Nov 8, 2021
[–]
Oh man, that's smart. Would you mind sharing that script?
ddoeth
on Nov 8, 2021
|
parent
[–]
You could use something like this:
find /tmp -type f -mtime +30 -delete
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: