Closed avanides closed 2 years ago
Thanks for this feature request.
Meantime you can get the results you seek with this command
cat $(zfind --database index.db --query-string 'KEY:"VALUE"' --show-filename | grep PATH | sed 's/filename: //')
Notes:
less
To troubleshoot, build up from the core zfind
command.
@avanides and @icornelius, we now have a --show-all
option. You'll have to upgrade to the latest version via pip
.
The docs will need to have a corresponding update, @icornelius. The semantics of --show-all
are to show any field that is actually being used in the zettel.
Docs are updated: https://github.com/ZettelGeist/zettelgeist/wiki/Getting-Started Thanks @gkthiruvathukal and @avanides !
@gkthiruvathukal @icornelius - thanks so much for this - works flawlessly!
Happy new year, @avanides!
It would very useful to run a zfind query and have the option to output the results as entire cards, which would in essence recreate the act of taking a physical Zettel out of an actual Zettelkasten. I am often not aware of everything that I wrote down in a given Zettel, much of which is likely of relevance for whatever it is I might be researching. Having the option to "--show-all" (or something similar) instead of listing every possible "--show" would streamline the process significantly.