Spotlight wildcards - what's the trick?

Discussion in 'macOS' started by jaskra, Jun 19, 2008.

  1. jaskra macrumors newbie

    Joined:
    Feb 10, 2008
    #1
    I seem to recall reading somewhere that wildcard search should work 10.5.x Spotlight.

    I type
    *IMG* into spotlight (I have tons of JPG files with this filename) and get No Results Found

    If I try other searches like catalog*pdf where I know I have a file called catalog.pdf, it still does not find anything.

    Is there a trick to searching with wildcards in Leopard Spotlight?
     
  2. chocodup macrumors member

    chocodup

    Joined:
    May 17, 2008
    #2
    I never succeeded in using wildcards in Spotlight.
    Instead, I use the Find of Finder.

    You can specify as many search criteria as you want (click the "+" button under the basic search field)

    Example:
    Filename contains IMG
    AND
    Type is image
     
  3. PeteB macrumors 6502a

    PeteB

    Joined:
    Jan 14, 2008
    #3
    Spotlight defaults to a "contains" search.

    So just typing 'img' into spotlight brings forth loads of hits.
     
  4. reubs macrumors 68000

    Joined:
    Jun 22, 2006
    #4
    Wildcards are drastically underused IMO. I wish I could get them to work in Automator for renaming batches of files, but it just isn't happening to this point.
     
  5. Thomas Davie macrumors 6502

    Joined:
    Jan 20, 2004
    #5
    type in kind: pdf cat and that will narrow it down. It you just type in knd:pdf you will get a list of all pdf files. You can also use boolean poerator in there such as AND NOT OR and so on.

    Apologies if this is obvious.

    Tom
     
  6. jaskra thread starter macrumors newbie

    Joined:
    Feb 10, 2008
    #6
    knd:pdf not working for me

    Thanks all for your tips

    @Thomas the kind:<file type> trick is a good one - I'll use that to narrow it down

    @chocodup - I had not messed with the advanced search options in finder search - makes things easy too

    cheers!
     
  7. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #7
    I use Name Mangler for batch file renaming. It works great!
     
  8. chocodup macrumors member

    chocodup

    Joined:
    May 17, 2008
    #8
  9. toltmanns macrumors newbie

    Joined:
    Aug 12, 2008
    #9
    finder wildcards

    After reading a threaded response, I noticed that there is no way to negate a search criteria (say anything matching the search, except for in a file ending with X). Any idea? Can anyone recommend a great osx literary resource?
     

Share This Page