Is there a script or way to add cards to a deck (or create a new deck) based on a field name?
**Field content I mean.
What I have is imported thousands of cards into an anki deck. These cards were imported from a CSV file. One of the Fields was "Subject". So it would say in subject "Calculus" or "Trig"
What I am looking for, is if anyone has designed (or can design) a simple script that creates a new deck, and moves these cards to said new deck, based on the "Subject" field.
Additionally, it would be nice if it moved all of the cards into a child deck of the parent deck. So if I manually created a "Trig" deck, and the cards were labeled "Triangle" "Slope" etc. then it would move the respective cards to Trig::Triangle, or Trig::Slope.
Posted Dec 14, 2016, 9:37 PM UTC · edited
Just open the browser and then you can search for the Subject field for Trig and then mover them to a new deck.
Browse search: "Subject":"Trig"
You should be able to select all the cards now with ctrl+a, and then Edit>Change Note Type (ctrl+shift+m).