NSMetadataQuery searchScopes broken in Mountain Lion?
NSMetadataQuery searchScopes broken in Mountain Lion?
- Subject: NSMetadataQuery searchScopes broken in Mountain Lion?
- From: Gerd Knops <email@hidden>
- Date: Thu, 16 Aug 2012 01:50:05 -0500
Hi,
Whenever I use -setSearchScopes: in ML I get bogus results, was fine in Lion. I presume mdfind's "-onlyin" flag uses this as well, and delivers the same bogus results:
gerti@sputnik(900) ~: mdfind "kMDItemFSName == 'SomeBogusFileName.xyz'" | wc -l
0
gerti@sputnik(901) ~: mdfind -onlyin "$HOME" "kMDItemFSName == 'SomeBogusFileName.xyz'" | wc -l
146006
Anybody else seeing this? Is there a workaround?
Thanks
Gerd
_______________________________________________
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