I have an Anki deck that is divided into multiple subdecks, numbered 1, 2, …, 87 according to the lesson in which the material will be presented during the year. The Anki website specifically advises against this organization and recommends tagging instead. I want to achieve the exact opposite of what this OP wanted; I want to be able to move the information theat is currently held in the (sub)deck name into the tags field so that I can combine all the notes into a single tagged deck without the subdecks. The obvious strategy that is extremely labor intensive, is to
- export an individual subdeck into its own named text file
- add a tags field to the text file
- insert the lesson number corresponding to that text file (and anything else useful) into the tags field
- repeat for every subdeck
- combine the subdeck text files into a single file
- reimport, with tags
Another strategy that occurs to me (but I can’t see how to do it) is to export the whole deck in a single step, and include the (sub)deck name in the export. I could then use various other text-tools to quickly create a tags field with appropriate tagging, and then reimport into a single deck. What should I do?
I should add that I am very familiar with most Unix text-tools, regex, and so forth, and have a simple understanding of SQLite. I would prefer to avoid the SQLite route but I’m prepared to use it if need be!