MacOS – Can you search Filenames in Spotlight as opposed to all metadata and contents by default

macossearchspotlight

I understand there is a dropdown menu in the spotlight search to select "Filenames" in spotlight, but is there a way to make this your default when searching?

Best Answer

Apple has search keys, so it's not changing a default, but it does let you specify file names (here they would contain the string "test"):

name:test

enter image description here