Exporting
导出允许你将部分集合保存为文本文件或 Anki 牌组包。要导出,请单击“文件”菜单,然后选择“导出”。
Exporting allows you to save part of your collection as a text file or packaged Anki deck. To export, click the File menu and choose 'Export'.
文本文件
如果选择“纯文本笔记”,Anki 会将笔记内容写入文本文件。每个字段由一个 tab 分隔。如果你编辑生成的文件而不修改第一个字段,你可以稍后将该文件导入回 Anki,如果你导入回相同的笔记模板,Anki 将根据你的编辑更新你的笔记。
If you choose "Notes in Plain Text", Anki will write the contents of the notes into a text file. Each field is separated by a tab. If you edit the resulting file and don't modify the first field, you can later import that file back into Anki and Anki will update your notes based on your edits, provided you import back into the same note type.
如果你发现自己也需要编辑第一个字段,你需要更改笔记模板的格式,使第一个字段是 ID 号,而不是实际文本。(你可以安装 Add note id 插件以使操作更容易。)
If you find yourself needing to edit the first field as well, you'll need to change the format of your note type so that the first field is an ID number rather than actual text. (You can install the Add note id add-on to make this easier.)
为了在重新导入文本时保留格式,导出文本时会嵌入所有 HTML 格式。
In order for formatting to be preserved when you import text back in, the text is exported with all the HTML formatting embedded in it.
牌组包
Packaged Decks
“牌组包”由卡片、笔记、笔记模板以及音频或图像组成的以.apkg 或 .colpkg 为扩展名的文件。你可以与别人共享牌组包,或备份你集合的部分内容。
A 'packaged deck' consists of cards, notes, note types, and any sounds or images bundled up into a file ending with .apkg or .colpkg. You can use packaged decks to transfer cards between people, or for backing up parts of your collection.
集合(.colpkg)
Collection (.colpkg)
当导出包含计划的所有牌组时,这被称为“集合包”。Anki 将把你的整个集合复制到一个以 .colpkg 结尾的文件中,并把它放在你的桌面上。集合包用于备份你的集合,或将其复制到其他设备。
When you export all decks with scheduling included, this is called a 'collection package'. Anki will copy your entire collection into a file ending in .colpkg, and place it on your desktop. A collection package is used to back up your collection, or copy it to another device.
使用以前版本的 Anki 创建的集合包称为 collection.apkg。
Collection packages created with previous versions of Anki were called collection.apkg.
稍后导入此文件时,Anki 将删除集合中的当前所有卡片,并用文件中的项目替换集合。这对于在设备之间来回复制集合非常有用。
When this file is later imported, Anki will delete all the current cards in the collection, and replace the collection with the items in the file. This is useful for copying your collection back and forth between devices.
导入集合包时,不会删除集合中的现有媒体资源。要删除未使用的媒体资源,请使用“工具”>“检查媒体”。
Existing media in your collection is not deleted when you import a collection package. To delete unused media, use Tools>Check Media.
如果你选择 Anki 2.1.50+ 集合包格式,导入和导出将更快,并且媒体文件将被压缩,但旧的 Anki 客户端将无法读取由此产生的 .colpkg 文件。
If you choose Anki 2.1.50+ Collection Package format, imports and exports will be faster, and media files will be compressed, but the resulting .colpkg file will not be readable by older Anki clients.
牌组包(.apkg)
Deck (.apkg)
牌组包包含一个牌组(以及可能包含的任何子牌组)。它们的文件名以 .apkg 结尾,但文件名不是 collection.apkg。当你导入一个 牌组包时,Anki 会将内容添加到你的集合中,而不是覆盖你的集合。
Deck packages contain a single deck (and any child decks it may have). They have a filename ending with .apkg, but a filename other than collection.apkg. When you import a deck package, Anki will add the contents into your collection, rather than overwriting your collection.
如果集合包中的某些笔记以前已导入,Anki 将保留最新修改时间的版本。因此,如果你下载更新的牌组,在更新版本中所做的编辑也将更新到集合中,但如果你在集合中进行编辑后重新导入未更改的牌组则会保留集合中的更改。
If some notes in the deck package have previously been imported, Anki will keep the version with the most recent modification time. So if you download an updated deck, the edits that have been made in the updated version will be made in your collection as well, but if you re-import an unchanged deck after making edits in your collection, the changes in your collection will be kept.
如果你选择不包括学习进度信息,Anki 会认为你正在与其他人共享牌组,并会删除标记和标签,这样他们就会有一个干净的副本。
If you choose not to include scheduling information, Anki will assume that you are sharing the deck with other people, and will remove marked and leech tags so that they will have a clean copy of it.