mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 17:42:07 +02:00
15 lines
251 B
Markdown
15 lines
251 B
Markdown
# mdfind
|
|
|
|
> List files matching a given query.
|
|
|
|
- Find a file by its name:
|
|
|
|
`mdfind -name {{file}}`
|
|
|
|
- Find a file by its content:
|
|
|
|
`mdfind {{query}}`
|
|
|
|
- Find a file containing a string, in a given directory:
|
|
|
|
`mdfind -onlyin {{directory}} {{query}}`
|