Re: NSFileManager fun & games
Re: NSFileManager fun & games
- Subject: Re: NSFileManager fun & games
- From: "M. Uli Kusterer" <email@hidden>
- Date: Wed, 1 Dec 2004 08:48:16 +0100
At 17:29 Uhr +1100 01.12.2004, Duncan Campbell wrote:
I would like to only produce the list of files/folder you get when
you click on the "Macintosh HD" icon on the desktop - i.e. beginning
with "Applications", not showing any of the "." files/folders
(hidden) etc.... - is there a method to produce this list?
Obviously I could just look for a "." as the 1st char of the
filename, but it seems there would be a method that gives me what i
am after, based on permissions etc?
It's more complicated than that:
1) Hide filenames starting with a "."
2) Hide root-level files whose names are mentioned in the /.hidden file
3) Hide files wholes HFS "invisible" flag is set
4) Hide the /Network folder, and probably others Finder doesn't show
This has been asked and answered in detail on this list before. Check
the archives if this information isn't enough for you.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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