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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to