TigerPage

From Wikifications
Revision as of 16:59, 28 July 2007 by Dre (Talk | contribs) (spam removal)

Jump to: navigation, search

This will be populated slowly with my own observations / tips, etc about Tiger.

Metadata / Spotlight

Compound queries with logic

The "Smart Folder" UI does not let you create compound queries with nested logic or "OR". Everything is at the same 'level' of evaluation (in the 'order of operations' sense), and everything is ANDed.

However, the underlying APIs fully support such queries, e.g.:

mdfind -onlyin /Users/andre/foodle "kMDItemFSOwnerUserID == 501 || kMDItemFSOwnerGroupID == 18010"

It is also possible to edit the .savedSearch file that Finder creates when saving a Smart Folder.

Here is an example of an updated "string" attribute from a .savedSearch file that uses an OR:

<string>((kMDItemFSContentChangeDate