diff --git a/pages/osx/mdfind.md b/pages/osx/mdfind.md new file mode 100644 index 000000000..a2c104008 --- /dev/null +++ b/pages/osx/mdfind.md @@ -0,0 +1,15 @@ +# mdfind + +> List files matching a given query + +- Find a file by it's name + +`mdfind -name {{file}}` + +- Find a file by it's content + +`mdfind {{query}}` + +- Find a file containing a string, in a given directory + +`mdfind -onlyin {{directory}} {{query}}`