Open mithraen opened 2 years ago
Searching only for files containing flashcards is a great idea, maybe a org-fc-find-command
variable would be more flexible?
Yes, it would be better solution. Maybe with sample in documentation for 'find + grep' and 'ripgrep'.
I prefer ripgrep, but find + xargs + grep works fast enough.
Maybe set default for this variable to something like:
find -L . -name "*.org" -not -name ".*" -print0 | xargs -0r grep -lZ ^:REVIEW_DATA:
When use org-fc in directory when files with flashcards mixed with files without flash cards, with ripgrep instead of file
It can be done like this: