メインメニューを開く

「Mdfindコマンド」を編集中

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。

最新版 編集中の文章
17行目: 17行目:
 
ディレクトリ指定で検索
 
ディレクトリ指定で検索
 
  $ mdfind -onlyin ~/Documents "検索語句"
 
  $ mdfind -onlyin ~/Documents "検索語句"
 
==Usage==
 
[[Yosemite]]での「mdfind --help」したときに出力されるusage。
 
<pre>
 
Usage: mdfind [-live] [-count] [-onlyin directory] [-name fileName | -s smartFolderName | query]
 
list the files matching the query
 
query can be an expression or a sequence of words
 
 
-attr <attr>      Fetches the value of the specified attribute
 
-count            Query only reports matching items count
 
-onlyin <dir>    Search only within given directory
 
-live            Query should stay active
 
-name <name>      Search on file name only
 
-reprint          Reprint results on live update
 
-s <name>        Show contents of smart folder <name>
 
-0                Use NUL (``\0'') as a path separator, for use with xargs -0.
 
 
example:  mdfind image
 
example:  mdfind -onlyin ~ image
 
example:  mdfind -name stdlib.h
 
example:  mdfind "kMDItemAuthor == '*MyFavoriteAuthor*'"
 
example:  mdfind -live MyFavoriteAuthor
 
</pre>
 
  
 
==関連項目==
 
==関連項目==
*[[mdutilコマンド]]
 
  
 
==参考文献==
 
==参考文献==

MonoBookへの投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細はMonoBook:著作権を参照)。 著作権保護されている作品は、許諾なしに投稿しないでください!

このページを編集するには、下記の確認用の質問に回答してください (詳細):

取り消し 編集の仕方 (新しいウィンドウで開きます)

このページで使用されているテンプレート:

このページは 1 個の隠しカテゴリに属しています: