Sometimes my hard drive gets low on space, and various things don't work properly until I empty the Trash and free up some space. I know there are applications that empty the Trash after a set interval—but what I want is an app or script (or other means) to empty the Trash whenever there's e.g. less than 2GB of free space on a given hard drive.
Hard Drive – Automatically Empty Trash When Disk Space is Low
hard drivetrash
Related Question
- Mac – Time Machine backup from external hard drive stuck in trash
- MacBook Pro – Improve Hard Drive Speed and Performance
- Data Recovery – How to Recover Files Emptied from Trash on macOS
- 135GB of Hidden Space + Snapshot Metadata Tree Invalid error in Disk First Aid
- MacOS – How to empty the trash with old backups in it
Best Answer
I use a third party preference pane Compost that deletes from trash when the disk fills up or if the file has been in trash for a given time.
The original download stopped working for me but I have just found this on the author's site instead of the distributer. Note the author's comment
So it might not work even from this download
When I updated this I had just installed it on Yosemite and it installed (but not enough time to see if it deleted anything) I have now updated to El Capitan and the installer fails.