Adding mdfind for spotlight search on command line
This commit is contained in:
parent
0afa41eed1
commit
dca481f606
@ -822,6 +822,11 @@ srm -rf /path/to/complete/destruction
|
|||||||
find . -type f -name '*.DS_Store' -ls -delete
|
find . -type f -name '*.DS_Store' -ls -delete
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Search for text in file names or file contents (spotlight search)
|
||||||
|
```bash
|
||||||
|
mdfind -onlyin . searchstring
|
||||||
|
```
|
||||||
|
|
||||||
### Locate
|
### Locate
|
||||||
|
|
||||||
#### Build Locate Database
|
#### Build Locate Database
|
||||||
|
Loading…
Reference in New Issue
Block a user