• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 'path to cleanup at startup folder'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: 'path to cleanup at startup folder' (From: ehsan saffari <email@hidden>)

  • Prev by Date: Run script before sleeping?
  • Next by Date: Re: ACGI form parsing in OSX?
  • Previous by thread: Re: 'path to cleanup at startup folder'
  • Next by thread: Re: 'path to cleanup at startup folder'
  • Index(es):
    • Date
    • Thread