Re: NSFileManager - getting list of "safe" files/folders [update]
Re: NSFileManager - getting list of "safe" files/folders [update]
- Subject: Re: NSFileManager - getting list of "safe" files/folders [update]
- From: Prachi Gauriar <email@hidden>
- Date: Tue, 21 Jun 2005 18:36:04 -0400
On Jun 21, 2005, at 6:16 PM, Duncan Campbell wrote:
Ok, I've got this down to the following files:
/etc
/mach.sym (link to 2nd)
/mach.sym (yes this is twice)
/tmp
/var
Now, ALL of the above are symlinks to hidden files *except* the 2nd
"mach.sym" which is a file, and (according to LSCopyItemInfoForURL)
does *not* have it's hidden bit set.
Any ideas folks - I'm so close here!
Cheers.
One of the mach.syms is actually a symlink called mach which points
to mach.sym. Since these files are guaranteed to be on every Mac OS
X system, you can just make special cases for them.
-Prachi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden