bayleeadamoss / zazu-file-finder

A file finder for Zazu.
18 stars 11 forks source link

Mac alternative adapter for spotlight enabled results (including file metadata) #18

Closed afaur closed 7 years ago

afaur commented 7 years ago

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:

bayleedev commented 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 ?

brpaz commented 7 years ago

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

bayleedev commented 7 years ago

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