Closed reiuyfan closed 3 years ago
Run this:
(crontab -l ; echo "@daily $(which trash-empty) 7") | crontab -
This will update your crontab file with a trash-empty command that runs daily and removes files older than 7 days.
To review your crontab use: crontab -l
As the title.I think it will be useful.