Re: testing for invisible files in a file browser
Re: testing for invisible files in a file browser
- Subject: Re: testing for invisible files in a file browser
- From: René van Amerongen <email@hidden>
- Date: Wed, 9 Aug 2006 08:54:25 +0200
Op 9-aug-2006, om 1:58 heeft Nick Zitzmann het volgende geschreven:
On Aug 8, 2006, at 5:17 PM, Tyler Riddle wrote:
For instance,
when pointed at /etc (which is invisible to the finder on my
machine),
the returned value indicates the folder is visible. I'm at a loss as
to why the code does not work. Can anyone provide some insight?
In addition to what was already mentioned, there are three
different ways that a file may be marked as invisible:
1. The Finder metadata has the hidden bit set
2. The file/folder is listed in the .hidden file, if present
So far as I can see is .hidden in Tiger obsolete, but the existing
one's are respected.
3. The file/folder name begins with a period
/etc is covered by case #2. You'll have to check for all three
cases on each file you wish to test.
with what is /etc covered in Tiger? Because I have none .hidden
Thanks
_______________________________________________
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