|
@@ -0,0 +1,15 @@
|
|
|
|
+# mdfind
|
|
|
|
+
|
|
|
|
+> List files matching a query
|
|
|
|
+
|
|
|
|
+- Find a file named **"Inception"**
|
|
|
|
+
|
|
|
|
+`mdfind -name inception`
|
|
|
|
+
|
|
|
|
+- Find a file containing **"football"**
|
|
|
|
+
|
|
|
|
+`mdfind football`
|
|
|
|
+
|
|
|
|
+- Find a file containing **"football"**, in the directory **"~/Documents"**
|
|
|
|
+
|
|
|
|
+`mdfind -onlyin ~/Documents football`
|