ネットワークドライブをSpotlightの対象にする

Alfredを使い始めたんだけど、Linuxのファイルサーバに置いてるいろんなものが検索に引っかからない……

で、調べたらSpotlightの対象にせよ、とのことなのでこちらに書いてあった方法で加えてみた。 まだインデックス中なんだけど、何時間かかるんだろうか……

$ mdutil Usage: mdutil -pEsa -i (on|off) -d volume ... mdutil -t {volume-path | deviceid} fileid Utility to manage Spotlight indexes. -p Publish metadata. -i (on|off) Turn indexing on or off. -d Disable Spotlight activity for volume (re-enable using -i on). -E Erase and rebuild index. -s Print indexing status. -t Resolve files from file id with an optional volume path or device id. -a Apply command to all volumes. -V vol Apply command to all stores on the specified volume. -v Display verbose information. NOTE: Run as owner for network homes, otherwise run as root.

$ mdutil /Volumes/soryumi\'s\ home -i on /Volumes/soryumi's home: Indexing enabled.