|
|
A cron approach
This approach empties your trash on the hour of files that haven't been accessed in 90+ minutes.
A cron approach
Ew ew ew ew!
A cron approach
Then again, the beauty of rm is that it'll empty the trash of stubborn items that the Finder might claim are in use that aren't.
A cron approach
I've found that without the following in the find command, the trash directory itself is killed, causing an "auto-empty" when an item is dragged to the trash (at least the finder figures it out and warns you though.)
-not \( -name .Trash \) So the whole crontab entry would be find ~/.Trash -not \( -name .Trash \) -exec rm -fr {} \;
Still, this solution is somewhat useless to me because it does not handle my Power Mac G5's second drive or temporarily mounted drives. I looked into handling that and though I think I basically groked what's going on I determined:
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|