Re: 'path to cleanup at startup folder'
Re: 'path to cleanup at startup folder'
- Subject: Re: 'path to cleanup at startup folder'
- From: John W Baxter <email@hidden>
- Date: Fri, 1 Feb 2002 21:49:24 -0800
At 18:55 -0600 2/1/2002, ehsan saffari wrote:
>
>If I put something in 'temporary items', there's no way I can have it
>
>cleaned up automatically is there?
>
>
I've been using it a lot recently, whatever is in temporary items shows
>
up in the trash at next reboot. When using temp items I use the name
>
"mytempfile" and overwrite it in subsequent uses, at reboot I always
>
check a bulging trash and won't have to check what mytempfile is.
The Temporary Items folder is for temporary items. The rules of the game
require that a program remove any file it puts in there, no later than when
it shuts down.
Because of those rules, the Finder assumes that when it finds something
there at startup, it was left behind by a crashing program. Finder copies
the stuff to the "Rescued Items..." folders to give the user the final say
(now and then, something useful is in there).
If you want something to persist across invocations, it's not proper to use
Temporary Items for it.
(Of course, you can do as you like on your own machine. But for
distributed scripts, left over stuff in Temporary Items will be quite
annoying to many of your users.)
--John
--
John Baxter email@hidden Port Ludlow, WA, USA