cannot find out Anki's stored data 07 March 2025, 14:23:11 Both my root directory and home directory were installed on an SSD. Several months ago, I installed Anki from AUR via yay. According to Anki's manual, "On Linux, recent Anki versions store your data in ~/.local/share/Anki2, or $XDG_DATA_HOME/Anki2 if you have set a custom data path. If you are using a third-party Flatpak build, your files will be in ~/.var/app/net.ankiweb.Anki/data/Anki2/. Older versions of Anki stored your files in ~/Documents/Anki or ~/Anki.Within the Anki folder, the program-level and profile-level preferences are stored in a file called prefs.db.There is also a separate folder for each profile. The folder contains:Your notes, decks, cards and so on in a file called collection.anki2Your audio and images in a collection.media folderA backups folderSome system filesYou should never copy or move your collection while Anki is open. Doing so could cause your collection to become corrupt. Please do not move or modify the other files in the folder either."My system couldn't boot last week, possibly due to SSD corruption. Booting from a live Artix CD and browsing my home or root directories and sub-directories, nowhere were I able to locate Anki's files.~/.local/share contains recently-used.xbel and five directories, cinnamon, epiphany, gvfs-metadata, keyrings, nemo. The five directories don't contain any Anki sub-folders.There are lost+found and a directory with my user name under $XDG_DATA_HOME, which cannot be accessed with sudo ls There is no ~/.var/app/net.ankiweb.Anki/data/Anki2/ or ~/Documents/Anki or ~/AnkiI don't think the Anki manual gives the correct path in my AUR anki case. I was wondering whether anyone could point out the correct directory path. Thanks everyone for their attention and assistance.
Re: cannot find out Anki's stored data Reply #1 – 08 March 2025, 07:55:08 Unfortunately I don't have the answer to your question.On the other hand, I saw that anki is available on the chaotic-aur repository:https://aur.chaotic.cx/Code: [Select]yay ankichaotic-aur/anki 25.02-1 (13.9 MiB 46.8 MiB) Helps you remember facts (like words/phrases in a foreign language) efficientlyBut I would like to draw your attention to a very handy utility that I have used at work: ZimBut I don't think Zim is an equivalent of Anki...https://zim-wiki.org/ Last Edit: 08 March 2025, 08:05:14 by tintin
Re: cannot find out Anki's stored data Reply #2 – 08 March 2025, 11:23:50 zim is in the omniverse repo, so it's easy to check it outartist 1 Likes
Re: cannot find out Anki's stored data Reply #3 – Yesterday at 05:03:39 Please excuse me if I am wrong but it sounds a bit like you are searching for the files manually?Have you tried to run find to search the whole device for a known directory or file name?Since we are recommending alternatives: I have not used Anki for 10 years myself after trying Mnemosyne.I did not want to bother with learning another program but Anki became so bloated and added all the scary online features.Mnemosyne has no fancy graphics but turned out easy to use, behaves like Anki did in the early days, can use it without a mouse and the maintainer(s?) on github are fast and friendly.