TigerPage

From Wikifications
Revision as of 10:12, 13 May 2005 by Dre (Talk | contribs)

Jump to: navigation, search

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

Metadata / Spotlight

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 >= $time.today) &#124;&#124; (kMDItemFSCreationDate >= $time.today)) &amp;&amp; (kMDItemContentType != com.apple.mail.emlx) && (kMDItemContentType != public.vcard)</string>

(note also the use of &#38; to get a literal ampersand in html, heh)

networking

ipfw / dummynet

  • bandwidth limiting based on UID of socket owner
  • dynamically viewing / adjusting xfer rates in realtime

sys administration

launchd

The One True Solution to process management

dsidentity

For all your cli user record manipulation needs