Possible Duplicate:
How to use wildcard characters in Spotlight search?
I have two questions about Spotlight:
Can Spotlight be set to not search keywords in files' contents? I just want to search the file names.
Can I search for wildcards, such as "
*.exe" or "*d.exe" to find all the files which are ended with exe?



function mdname () { mdfind "kMDItemDisplayName==$@" }– jwd630 Jan 14 '15 at 22:24