mirror of https://github.com/CrimsonTome/tldr.git
Add mdfind
parent
acf8756f56
commit
4449011ece
|
@ -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`
|
Loading…
Reference in New Issue