diff --git a/pages/osx/mdfind.md b/pages/osx/mdfind.md new file mode 100644 index 000000000..1dbce2439 --- /dev/null +++ b/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`