• 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: NSFileHFSTypeCode = 'brok'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileHFSTypeCode = 'brok'


  • Subject: Re: NSFileHFSTypeCode = 'brok'
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Sun, 18 Feb 2007 15:33:59 +0700


On 17 Feb 2007, at 15:12, Scott Anguish wrote:


On Feb 16, 2007, at 9:53 PM, Gerriet M. Denkmann wrote:

2. Question: How to make mdfind work, and where is a complete list of kMDxxx to be found?


kMDxxx are described in http://developer.apple.com/documentation/ Carbon/Reference/MetadataAttributesRef/index.html

This list seems to be not quite complete. Neither kMDItemFSTypeCode, kMDItemFSCreatorCode nor kMDItemID is listed.


But all are working in mdfind as well as with NSPredicate.

With one exception: kMDItemFSTypeCode and kMDItemFSCreatorCode seem not to be working for certain (Apple defined) strings.

$ mdfind "kMDItemFSTypeCode == 'Abcd'"
/Users/gerriet/Desktop/Abcd.txt
$ mdfind "kMDItemFSTypeCode == 'abcd'"
/Users/gerriet/Desktop/abcd.txt
$ mdfind "kMDItemFSTypeCode == 'fdrp'"      --- type for folder aliases
/System Folder/Apple Menu Items/Favorites

But:
$ mdfind "kMDItemFSTypeCode == 'brok'"
returns nothing, although there are files with this type.
(Or Spotlight did not index these files because of 'brok').

So: How do I find these busy files (which indeed are not busy, the flag must be the result of some former accident)?
I want to make an archive - but after 20 minutes the Finder informs me that I have insufficient priviledges for Info.plist.
But most annoyingly it does not specify the full filename.


Gerriet.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSFileHFSTypeCode = 'brok'
      • From: Scott Anguish <email@hidden>
References: 
 >NSFileHFSTypeCode = 'brok' (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSFileHFSTypeCode = 'brok' (From: Scott Anguish <email@hidden>)

  • Prev by Date: Automatic fill in of logins in WebViews?
  • Next by Date: NSConnection - is this expected behavior?
  • Previous by thread: Re: NSFileHFSTypeCode = 'brok'
  • Next by thread: Re: NSFileHFSTypeCode = 'brok'
  • Index(es):
    • Date
    • Thread