• 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: NSFileManager - getting list of "safe" files/folders [update]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSFileManager - getting list of "safe" files/folders (From: Duncan Campbell <email@hidden>)
 >NSFileManager - getting list of "safe" files/folders [update] (From: Duncan Campbell <email@hidden>)
 >Re: NSFileManager - getting list of "safe" files/folders [update] (From: Prachi Gauriar <email@hidden>)
 >Re: NSFileManager - getting list of "safe" files/folders [update] (From: Duncan Campbell <email@hidden>)

  • Prev by Date: Re: Xcode 2.1 debugging
  • Next by Date: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Previous by thread: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Next by thread: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Index(es):
    • Date
    • Thread