mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-21 00:38:17 +03:00
16 lines
279 B
Markdown
16 lines
279 B
Markdown
|
# 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`
|