欢迎访问!

Office学习网

您现在的位置是:主页 > 网络技术

网络技术

How do I mass delete duplicate cards with same template, sam

发布时间:2026-07-08网络技术评论
I have a deck with many duplicate cards. The duplicate cards all have the same template, the same card type and the same data (I double checked the htm

then delete that deck. It would also really be a pain to do this for hundreds of cards. I can write scripts with Python, so I created, imported and deleted the deck apkg file several times. I think I forgot to delete the previous deck the last time I created the deck. I think I merged the two decks. It might been something I did when I was fixing up the deck. I don’t know why Anki suddenly doesn’t seem to mind multiple duplicate cards with the same template and card type or why they don’t register as duplicates. I don’t want to delete and recreate the deck, because I used it for awhile before I figured out this problem. I just want to delete the duplicate cards but keep all the other cards and metadata. Something like this: If I haven’t reviewed any of the cards in note- delete all but one card If I have reviewed one of the cards in note- keep card I have reviewed and delete rest If I have reviewed several of the cards in note → keep card oldest card (first card I reviewed) and delete rest I know the recommended way to delete an individual card is to empty the fields and use the “Empty Cards” option. However, but I’m not sure where to start with this. I’m not sure this is something genanki does. I would appreciate some help. Thanks. , if I do that it changes the data in the fields on both the cards (possibly because they are still the same template). The only way I have figured out to delete the individual duplicate cards to move one card into another deck, the same card type and the same data (I double checked the html) in the same fields. The deck uses a custom template and it’s notes should only generate one card type.These duplicates aren’t detected by ‘Tools → Detect Duplicate’. I’m not exactly sure how this happened. I made the deck by using a custom Python script that generated a apkg file from a json file using the genanki Python module. It look awhile to fine-tune the script, I have a deck with many duplicate cards. The duplicate cards all have the same template,。

广告位

热心评论

评论列表