Spotlight and zip files

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

  1. cgundlach macrumors newbie

    Mar 11, 2003
    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


    Jul 24, 2002
    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

    Mar 11, 2003
    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", for instance.

Share This Page