Bỏ qua đến nội dung

Automatically Sort Cards into Decks via Rules

Chờ xử lý #anki #addon #automatically #sort #cards #into #decks
Unknown
6/2/2026

Cách tải addon Automatically Sort Cards into Decks via Rules

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

1983579655

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 1983579655 và copy

Mô tả chi tiết

This add-on automates the sorting of Anki cards into specific decks based on user-defined logic. It beneficial if you split cards of the same note into different decks (e.g. separate decks for “Listen” and “Speak” cards)

Functionality

The add-on adds a menu item to the Anki Browser. When cards are selected and the tool is triggered, it evaluates each card against a set of rules defined in the configuration file. If a card matches the criteria for a rule, it is moved to the specified deck.

Features Rule Priority: Rules are processed from top to bottom. If multiple rules match a single card, the last rule in the list takes precedence. Multi-Criteria Matching: Rules can target cards based on Note Type, Tags, or Card Template names. All criteria within a single rule must be met for the move to occur (AND logic). Wildcard Support: Uses standard wildcard patterns (*) for flexible matching of names and tags. Case Insensitivity: Matching ignores capitalization to prevent errors from inconsistent naming. Undo: Moves can be reverted immediately using the standard Anki undo command (Ctrl+Z or Opt+Cmd+Z). Debugging: Includes a debug mode to display why specific cards did or did not match the current ruleset. Configuration Parameters note_pattern: Matches the Note Type name. tag_pattern: Matches any tag present on the note. card_pattern: Matches the specific Card Template name. [REQUIRED] deck: The destination deck path (e.g., “Parent::Subdeck”). [REQUIRED] Usage Define rules in the add-on configuration. Open the Browser and select cards. Right-click or use the “Cards” menu to select “Move Cards by Config Rules”.