org-anki icon indicating copy to clipboard operation
org-anki copied to clipboard

Question: how to best update all anki-entries from all files in a subfolder

Open dimitry12 opened this issue 1 year ago • 3 comments

org-anki-update-all updates all anki-entries in the buffer. My setup is based on org-roam and my entries are spread across many files.

I am looking for the best method of doing the same thing as org-anki-update-all does but for entries located in many files in a subfolder.

The motivation is: after I update the entry in org-mode I occasionally forget to org-anki-sync-entry it and Anki then contains a stale card. This failure scenario is hard to notice.

dimitry12 avatar Jan 07 '24 21:01 dimitry12

Hi, I guess this would mean traversing the folder for org files and running org-anki-update-all on each of them. I'll attempt to whip this up into a single command if I get a moment (PRs welcome too, of course).

eyeinsky avatar Jan 10 '24 19:01 eyeinsky

There is a PR here https://github.com/eyeinsky/org-anki/pull/91, if you have time, please see if it does what you want! :)

eyeinsky avatar Mar 11 '24 21:03 eyeinsky

Hi @dimitry12, any comments on #91? :)

eyeinsky avatar Apr 27 '24 12:04 eyeinsky