Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下 Spotlight 查询正确返回了我系统上的所有存档和 ISO 文件:
kind:iso OR kind:archive
但是,Spotlight.bin也将文件视为存档,并.bin在结果中返回文件。
.bin
如何修改上述查询并排除bin以结果结尾的文件?我尝试了以下查询,但它不起作用:
bin
(kind:iso OR kind:archive) AND NOT name:*bin
提前致谢。
刚刚在 IRC 频道中找到了解决方案。而不是写name:*bin你应该使用name:.bin所以整个查询将是:
name:*bin
name:.bin
(kind:iso OR kind:archive) AND NOT name:.bin