• 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: hidden files & NSFileManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hidden files & NSFileManager


  • Subject: Re: hidden files & NSFileManager
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 17 Jun 2005 14:22:20 -0600


On Jun 17, 2005, at 1:10 PM, Luc Vandal wrote:

how can I determine if a file/folder is supposed to be hidden or not?

It's not trivial to do, because there are three different ways a file could be hidden:
1. If a file's name begins with a period, then it's hidden
2. There's an "invisible" setting in the HFS+ file attributes; obviously it's hidden if it's set
3. If a file's name is listed inside the .hidden text file in the same directory, then it's hidden


Your program will have to manually check all three places in order to determine if the file is hidden.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ 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
  • Follow-Ups:
    • Re: hidden files & NSFileManager
      • From: Eric Schlegel <email@hidden>
    • Re: hidden files & NSFileManager
      • From: Chris Parker <email@hidden>
References: 
 >hidden files & NSFileManager (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: Fetch Button In Core Data Application
  • Next by Date: Re: hidden files & NSFileManager
  • Previous by thread: hidden files & NSFileManager
  • Next by thread: Re: hidden files & NSFileManager
  • Index(es):
    • Date
    • Thread