How to get Spotlight to search files without extensions

Discussion in 'Mac Apps and Mac App Store' started by bookmarc, Aug 25, 2008.

  1. bookmarc macrumors newbie

    Joined:
    Aug 25, 2008
    #1
    I regularly back up my email directly from my webhost server, so all the individual emails are broken up into files that have file names that look like this:

    1170383510.M205774P1650V0000000000000012I0231EC00_5.sack,S=3126/2,S

    Spotlight would be an ideal app to search for these emails, but unfortunately, it doesn't recognize this format because they all lack file extensions. Is there a way to force Spotlight to look at *every* single file regardless of file extension?
     
  2. TuffLuffJimmy macrumors G3

    TuffLuffJimmy

    Joined:
    Apr 6, 2007
    Location:
    Portland, OR
    #2
    I don't believe so. It has to index files based on words it finds in them. If it doesn't know what sort of file it is then it can't find any words in it. Perhaps there is a third party tool that can search these sort of emails.
     
  3. bookmarc thread starter macrumors newbie

    Joined:
    Aug 25, 2008
    #3
    I guess there's always GREP! I just did this instead, even though it would be nice to have a GUI interface:

    grep -r friend@gmail.com .

     

Share This Page