• 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 file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hidden file


  • Subject: Re: hidden file
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 28 Nov 2010 15:21:28 -0700

On Nov 28, 2010, at 3:09 PM, Ariel Feinerman wrote:

> Hi everyone,
>
> how to check whether a file is hidden in Finder? There seems file manager
> has no any methods to change file`s visibility like lchflags().

There are three different things that can cause a file to be hidden in the Finder:

1. If it has a . at the beginning of its name
2. If its hidden bit is set (you can check for this using the Carbon file manager)
3. If its name comes up inside the .hidden file in the same folder (if such a file exists)

And yes, I have a bug open on this asking for a way to do this using NSFileManager.

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



_______________________________________________

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

  • Follow-Ups:
    • Re: hidden file
      • From: Ken Thomases <email@hidden>
    • Re: hidden file
      • From: "Stephen J. Butler" <email@hidden>
References: 
 >hidden file (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: hidden file
  • Next by Date: Re: hidden file
  • Previous by thread: hidden file
  • Next by thread: Re: hidden file
  • Index(es):
    • Date
    • Thread