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

Re: NSFileManager fun & games


  • Subject: Re: NSFileManager fun & games
  • From: Duncan Campbell <email@hidden>
  • Date: Mon, 6 Dec 2004 16:29:40 +1100

Hi - thx for the response.

somebody posted some code to hide "hidden" files which works great, however I still see the .app extension on applications.

It also appears that if i browse from "/" down, I see files/folders that do not show up in Finder ("Network" being one of them).

Is there an easy easy to replicate the filelist that finder creates?

Cheers,

=========================================
Duncan Campbell
http://www.duncanandsarah.com/duncan
=========================================

Cache:
	A very expensive part of the memory system of a computer that no one
	is supposed to know is there.

On 01/12/2004, at 6:48 PM, M. Uli Kusterer wrote:

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
  • Follow-Ups:
    • Re: NSFileManager fun & games
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Re: NSFileManager fun & games (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Simple bindings problem.
  • Next by Date: Re: URL to html file in the application package
  • Previous by thread: Re: NSFileManager fun & games
  • Next by thread: Re: NSFileManager fun & games
  • Index(es):
    • Date
    • Thread