Ensure each note is unique (correct a bug introduced by add-on "copy note")

AnkiWeb addon 2082040683

Corrects duplicate GUIDs from the copy note bug so exported decks with original and copied notes import both notes instead of only one.
AI-generated summary; may contain mistakes.

note-managementduplicatesbugfix-workaround

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2019-09-26
Anki versions
unknown
Description language
en

Maintenance

abandoned

  • Last update or commit was 2377 days before the snapshot (2020-03-29).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.0–2019-09-26
History across monthly snapshots

Loading…

Similar addons

Multi-Field Duplicate Remover

Finds and removes duplicate notes across multiple note types using custom multi-field matching criteria and keep rules for oldest, newest, or longest interval.

note-managementduplicates

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 Anki 25.09.4~ Updated 2026-05-23

README

Ensure unique GUID

Rationale

This add-on corrects the consequences of a bug in add-on copy note(1566928056). It may also be useful if anything else has the same bug.

This is not a big bug. It only occurs if you copy a note, export a deck containing the original and the copy, and then import the deck into another collection. If you do this, you'll import only the original or the copy note but not both. Therefore, you should use this add-on to correct the bug before exporting cards.

To use this add-on, you simply need to select Β«Ensure unique GUIDΒ» in the main window.

Technical

For some reason, each note has two identifiers. The note identifier (nid) which is used in most of anki. And a Globally Unique IDentifier (guid), which is used when a note is shared between different collections; i.e. when a deck is shared and imported. The add-on "copy note" did change nid but not guid. This is now changed.

Version 2.0

None

Links, licence and credits

Key Value
Copyright Arthur Milchior arthur@milchior.fr
Based on Anki code by Damien Elmes anki@ichi2.net
License GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
Source in https://github.com/Arthur-Milchior/anki-unique-GUID
Addon number 2082040683