Can -onlyin
contain wildcards?
mdfind pattern -onlyin '*bin'
I know this works:
mdfind pattern | grep bin
command linepathspotlight
Can -onlyin
contain wildcards?
mdfind pattern -onlyin '*bin'
I know this works:
mdfind pattern | grep bin
Best Answer
No, mdfind's
-onlyin
does not perform pathname expansion nor tilde expansion and only accepts explicit pathnames. You can have multiple-onlyin
options.