Searching for a filename.type in Spotlight?

Cooknn

macrumors 68020
Original poster
Aug 23, 2003
2,111
0
Fort Myers, FL
This is probably basic, but let's say I know what I am looking for is a PDF and I think I know the first letter starts with d. If I type d*.pdf in spotlight I get a ton of stuff I don't want to see. Do I need to go to terminal and get it done that way?
 

Cooknn

macrumors 68020
Original poster
Aug 23, 2003
2,111
0
Fort Myers, FL
swiftaw said:
if you use kind:pDF in spotlight it will restrict your search to pdf files.
Thanks for the tip, but it doesn't behave like I thought it would, or should. I'm looking for something that will look at all the folders and files specified by my search for a naming convention. Sure that gets me all the PDF's but what about the ones that start with d?
 

iMeowbot

macrumors G3
Aug 30, 2003
8,643
0
Finder still has Cmd-F which is powered by Spotlight but gives you the old "name begins with..." "kind is..." etc. interface. there's a button to save the search, which will create a smart folder. If you open that smart folder again later, there is an edit button so you can edit the criteria (so you could have a PDF search folder and so on).
 

iMeowbot

macrumors G3
Aug 30, 2003
8,643
0
Mitthrawnuruodo said:
...also Spotlight will look for the file (and not the contents) if you use quote-marks and search for "filename.type" instead of filename.type.
There's a peeve with Spotlight. It has a glob sort of syntax in its query language, but with that menu bar syntax, actually using it to search for filename patterns without other junk mixed in seems to be impenetrable :mad:
 

Cooknn

macrumors 68020
Original poster
Aug 23, 2003
2,111
0
Fort Myers, FL
Mitthrawnuruodo said:
...also Spotlight will look for the file (and not the contents) if you use quote-marks and search for "filename.type" instead of filename.type.
Doesn't work with wildcards though... Cmd-F works from Finder if you deal with all the dropdowns and select your criteria that way.

Didn't the old Finder just let you search for a filename with wildcards?
[EDIT] Thinking back I believe that wasn't the case. I guess I'll just use Cmd-F in the situations where I need to search for a filename with specific letters contained in the name. Thanks to each of you for your input :eek: