Re: Best practice for creating a temporary file
Re: Best practice for creating a temporary file
- Subject: Re: Best practice for creating a temporary file
- From: Kyle Sluder <email@hidden>
- Date: Tue, 02 Sep 2014 12:45:00 -0500
On Tue, Sep 2, 2014, at 11:47 AM, Jens Alfke wrote:
>
> It looks as though there _is_ a per-volume temporary-items directory,
> because on my non-boot partition I see a top-level invisible directory
> called ".TemporaryItems" with a subfolder for each user-ID. But how do I
> find it programmatically?
.TemporaryItems doesn't get cleaned up automatically AFAIK, so I don't
think you'll gain anything by trying to use it.
If you want to hide the folder, I'd try setting its hidden flag via
chflags(2).
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden