From 4449011ecec3be38b8892d5dc7258d3d03c5a8df Mon Sep 17 00:00:00 2001 From: Lukas B Date: Mon, 26 Oct 2015 12:55:32 +0100 Subject: [PATCH] Add mdfind --- pages/osx/mdfind.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/osx/mdfind.md 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`