eyeinsky / org-anki

Sync org notes to Anki via AnkiConnect
BSD 3-Clause "New" or "Revised" License
180 stars 28 forks source link

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

Open dimitry12 opened 10 months ago

dimitry12 commented 10 months ago

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.

eyeinsky commented 10 months ago

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 commented 8 months ago

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 commented 6 months ago

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