Alfred 搜索不到系統(tǒng)文件
Apple actually treats files within this folder as system files and as such they aren't visible within Alfred or Spotlight.
以 Alfred 查找 ~/Library 文件夾中的文件為例。
OS X 通常會(huì)把在 ~/Library 文件夾中的文件當(dāng)作 系統(tǒng)文件,標(biāo)記 MDSystemFile,對 Alfred 和 Spotlight 的搜索都是不可見的。
解決方案
基于上訴原因,Alfred 自帶的文件搜索功能是不能搜索出這些系統(tǒng)文件的。解決方法:
1、創(chuàng)建一個(gè)新的 Workflow(高級功能,需付費(fèi)開啟);
2、添加一個(gè) File Filter,在 Search Scope 選項(xiàng)中添加搜索范圍,并且勾選 Show files marked as System File;
3、添加 Keyword 用于觸發(fā)搜索,或?yàn)槠涮砑右粋€(gè) Hotkey 快捷鍵。
注意 Show files marked as System File 下的小字部分,大意為太多的系統(tǒng)文件會(huì)導(dǎo)致太多的搜索結(jié)果,對搜索結(jié)果進(jìn)行干擾。

alfred-search-system-file.png