Spotlight and zip files

Discussion in 'macOS' started by cgundlach, May 5, 2005.

  1. cgundlach macrumors newbie

    Joined:
    Mar 11, 2003
    #1
    Does anyone know if there is a way to get Spotlight to index zip files? I looked on Apple's site and didn't see a plugin for this. I would have expected zip files to work out of the box.
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    The problem is that a zip file conceptually contains lots of files. Spotlight works on a file-by-file basis. So whilst you could write a plugin to index the zip file itself (normal file attributes like size of file, modified date and so on as well as zip attributes (number of contained files for example)) it would not be able to index the files within the zip file which is what would actually be usefull.
     
  3. cgundlach thread starter macrumors newbie

    Joined:
    Mar 11, 2003
    #3
    I don't know anything about how Spotlight API works, but a zip is really no different than a directory. Aside from that, anyone who has ever worked with java knows how sweet it would be to say "I'm looking for com.sun.xml.rpc.tools.ant.Wscompile", for instance.
     

Share This Page