{"id":4975,"date":"2012-07-16T13:46:55","date_gmt":"2012-07-16T04:46:55","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=4975"},"modified":"2012-07-16T13:46:55","modified_gmt":"2012-07-16T04:46:55","slug":"spotlight","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/spotlight\/","title":{"rendered":"Mac\u306eSpotlight\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u4f7f\u7528\u3059\u308bTips"},"content":{"rendered":"<p>Mac\u306eSpotlight\u3092\u4f7f\u3048\u3070\u3001\u5358\u306b\u540d\u524d\u304c\u4e00\u81f4\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u304c\u691c\u7d22\u3067\u304d\u308b\u307b\u304b\u3001\u4e2d\u8eab\u304c\u4e00\u81f4\u3059\u308b\u3082\u306e\u3082\u3042\u308f\u305b\u3066\u691c\u7d22\u3067\u304d\u3066\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\u3002\u666e\u901a\u753b\u9762\u53f3\u4e0a\u306e\u866b\u773c\u93e1\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u304c\u3001mdfind \u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3048\u3070\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5bfe\u8c61\u306b\u691c\u7d22\u3059\u308b\u5834\u5408\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n$ mdfind -name gcc-4.2 \r\n\/usr\/llvm-gcc-4.2\/bin\/i686-apple-darwin11-llvm-gcc-4.2\r\n\/usr\/llvm-gcc-4.2\/bin\/llvm-gcc-4.2\r\n\/usr\/llvm-gcc-4.2\r\n\/usr\/bin\/gcc-4.2\r\n\/usr\/bin\/i686-apple-darwin11-gcc-4.2.1\r\n\/usr\/share\/man\/man1\/gcc-4.2.1<\/pre>\n<p>man\u30da\u30fc\u30b8\u3082\u6e96\u5099\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>\r\nmdfind(1)                 BSD General Commands Manual                mdfind(1)\r\n\r\nNAME\r\n     mdfind -- finds files matching a given query\r\n\r\nSYNOPSIS\r\n     mdfind [-live] [-count] [-onlyin directory] [-name fileName] query\r\n\r\nDESCRIPTION\r\n     The mdfind command consults the central metadata store and returns a list of files that match\r\n     the given metadata query. The query can be a string or a query expression.\r\n\r\n     The following options are available:\r\n\r\n     -0          Prints an ASCII NUL character after each result path.  This is useful when used in\r\n                 conjunction with xargs -0.\r\n\r\n     -live       Causes the mdfind command to provide live-updates to the number of files matching\r\n                 the query.  When an update causes the query results to change the number of\r\n                 matches is updated.  The find can be cancelled by typing ctrl-C.\r\n\r\n     -count      Causes the mdfind command to output the total number of matches, instead of the\r\n                 path to the matching items.\r\n\r\n     -onlyin dir\r\n                 Limit the scope of the search to the directory specified.\r\n\r\n     -name fileName\r\n                 Searches for matching file names only.\r\n\r\n     -literal    Force the provided query string to be taken as a literal query string, without\r\n                 interpretation.\r\n\r\n     -interpret  Force the provided query string to be interpreted as if the user had typed the\r\n                 string into the Spotlight menu.  For example, the string \"search\" would produce\r\n                 the following query string:\r\n                       (* = search* cdw || kMDItemTextContent = search* cdw)\r\n<\/pre>\n<p>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u899a\u3048\u306a\u304f\u3066\u3082\u3001locate\u304c\u308f\u308a\u306b\u4f7f\u3048\u3070\u4fbf\u5229\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mac\u306eSpotlight\u3092\u4f7f\u3048\u3070\u3001\u5358\u306b\u540d\u524d\u304c\u4e00\u81f4\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u304c\u691c\u7d22\u3067\u304d\u308b\u307b\u304b\u3001\u4e2d\u8eab\u304c\u4e00\u81f4\u3059\u308b\u3082\u306e\u3082\u3042\u308f\u305b\u3066\u691c\u7d22\u3067\u304d\u3066\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\u3002\u666e\u901a\u753b\u9762\u53f3\u4e0a\u306e\u866b\u773c\u93e1\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u304c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[4,75],"tags":[323],"class_list":["post-4975","post","type-post","status-publish","format-standard","hentry","category-mac","category-software","tag-mdfind"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/4975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=4975"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/4975\/revisions"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=4975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=4975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=4975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}