Debian Buster 10上的mdfind命令,但无法建立索引

I have installed the mdfind package mdfinder.app_0.9.4-1+b2_amd64.deb on Debian 10 Buster.

The command mdfind comes classically from MacOS X but when I did an apt-cache search mdfind, I got this suggestion of package. Usually, I am using locate on Linux and I was surprising to find this package.

因此,命令mdfind可用,但是不幸的是,在执行过程中,我要寻找一个简单的文件:

$ mdfind README

mdfind: <NSException: 0x5575e031c7c0> NAME:NSInvalidArgumentException REASON:unable to parse the attribute name INFO:(null)

Normally, on MacOS systems, we can reindex all the Volume by mdutil tool but impossible to find it on Debian 10 buster.

What does this error above correspond to ? Is it linked with the fact that I didn't build the index of all my hard disk (like the equivalent of locate command with updatedb command) ?

任何建议都可以

评论