mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02: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`
|