Spotlight query to search for all archives and ISO files that their names do not end in bin

Posted by Bytecode Ninja on Stack Overflow See other posts from Stack Overflow or by Bytecode Ninja
Published on 2010-04-24T10:05:12Z Indexed on 2010/04/24 10:13 UTC
Read the original article Hit count: 188

Filed under:
|
|
|

The following Spotlight query, correctly returns all archive and ISO files on my system:

kind:iso OR kind:archive

However, Spotlight treats .bin files as archives too and returns .bin files in the results as well.

How can I modify the above query and exclude files that end in bin from the result? I tried the following query but it is not working:

(kind:iso OR kind:archive) AND NOT name:*bin

Thanks in advance.

© Stack Overflow or respective owner

Related posts about mac

Related posts about macosx