Browse Source

Add mdfind

Lukas B 9 years ago
parent
commit
4449011ece
1 changed files with 15 additions and 0 deletions
  1. 15 0
      pages/osx/mdfind.md

+ 15 - 0
pages/osx/mdfind.md

@@ -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`