emptying trash
emptying trash
- Subject: emptying trash
- From: Robert Rust <email@hidden>
- Date: Wed, 06 Dec 2000 20:32:16 -0600
I'm looking for a good robust way to empty the trash, account for locked
items. I know Jon's Commands has a command to do just such a thing, but it
doesn't seem to deal very well with folders that have lots of files (e.g.
2000). It seemed to forget about the other files that I asked it to delete
requiring a few loops to get it to actually do so. I had been using an
application to do this task (Empty Trash 1.0.2), but it appears that the
program has a memory leak of something that causes the script to lock up
approximately 10-15% of the time (just before the script quits but after the
last line of code executes. Is a 'walk folders' to make sure everything is
unlocked, then a 'tell finder to empty trash' the best way to go?
Robert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert J Rust
Microcomputer Specialist
UW - River Falls IT Services
(715) 425-4357
email@hidden
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~