spotlight: add docs for "mdfind.".

db4
John Benediktsson 2013-11-17 18:24:46 -08:00
parent e29254b2c0
commit cbbae71710
1 changed files with 5 additions and 2 deletions

View File

@ -68,8 +68,11 @@ HELP: mdfind
"Return all files in the users home folder that have been modified in the last 3 days" "Return all files in the users home folder that have been modified in the last 3 days"
{ $code "\"~\" [ \"kMDItemFSContentChangeDate >= $time.today (-3)\" mdfind ] with-directory" } { $code "\"~\" [ \"kMDItemFSContentChangeDate >= $time.today (-3)\" mdfind ] with-directory" }
} }
{ $notes { $notes "This word uses the " { $link current-directory } " to restrict the search, choosing to search from the root ('" { $snippet "/" } "') if not set." } ;
"This word uses the " { $link current-directory } " to restrict the search, choosing to search from the root ('" { $snippet "/" } "') if not set." } ;
HELP: mdfind.
{ $values { "query" string } }
{ $description "Similar to " { $link mdfind } ", but prints out the results as a list of " { $link pathname } " objects, allowing you to right-click and \"Open File\" if used with the " { $snippet "webbrowser" } " vocabulary." } ;
HELP: mdls HELP: mdls
{ $values { "path" "string or pathname" } } { $values { "path" "string or pathname" } }