Closed afaur closed 7 years ago
There is some os-specific logic, but this would cause this plugin to have two 100% different code paths. What does the community think about adding this to zazu-file-finder
vs creating something like zazu-mac-mdfind
?
For Linux, maybe we can use Tracker. dont know if a similar engine exists for windows.
Maybe in this case I would keep the zazu-file-finder as it is and start creating separate plugin. (maybe it could even be a root plugin without keyword, since the performance should be much much better when using an index that doing the search at runtime.
I never really used tracker. I start experimenting with it. The first index takes a lot of time. If I like the results, I think I will try to create a node wrapper for it and then maybe also a zazu plugin
For mac this is finished with the recent merge. If you want to make linux specific adapters using locate
or tracker
now is your chance :D
Looks like
mdfind
will query the spotlight database on mac osx.The command does not support regex, but results could be additionally filtered after being obtained.
mdfind
can also be set to:Looks like there is a node wrapper here: