Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'TrashTimer for the rescue…' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
TrashTimer for the rescue…
Authored by: nick on Sep 05, '06 07:50:24AM
i had the same problem until i started using TrashTimer (http://www.hieper.nl/pages/content/trashtimer.html). this little gem deletes files from trash which are in there for a configurable time. i kond of completely stopped emtpying my trash manually. if i wanna delete HUGE files instantly i use the terminal.

[ Reply to This | # ]
TrashTimer for the rescue…
Authored by: themacnut on Sep 05, '06 04:51:28PM
That's funny, I implemented the same solution using a 3-line trash-emptying Applescript and launchd (cron's replacement in Tiger). I don't empty the trash manually anymore either. Of course I can't remember the last time I put something in the trash that I didn't intend to send there, so the "backup the trash" part of that hint wouldn't apply to me...

---
The MacNut
Owner, ClarisWorks/AppleWorks Email List
http://awlist.macnuthome.com
The Vanguard, my webcomic:
http://thevanguardhome.com

[ Reply to This | # ]

TrashTimer for the rescue…
Authored by: chally on Sep 13, '06 02:10:14PM

Perhaps you can enlighten us as to what those "three lines" were...



[ Reply to This | # ]
TrashTimer for the rescue…
Authored by: themacnut on Sep 14, '06 12:28:56PM

Oh sorry, here it is:

tell application "Finder"
empty trash
end tell

Sometimes Applescripts really are that simple. Sometimes. Anyway, that should be enough to empty the trash, especially if you put it in your "Scripts" menu. You can also schedule it to empty the trash on a regularly scheduled interval, either with cron or launchd.


---
The MacNut
Owner, ClarisWorks/AppleWorks Email List
http://awlist.macnuthome.com
The Vanguard, my webcomic:
http://thevanguardhome.com



[ Reply to This | # ]