It is actually a fair while since I last tinkered under the Anki hood. I haven’t needed to, to be honest. I’d set everything up just right for my current clutch of active and maintenance languages way back, and everything was chugging along nicely.
But polyglot dreams never sleep for long. The need for a fresh round of customising came from an exciting new side project, Croatian. Easy, I thought. I’ll rustle up some cute Croatian card layouts, complete with a cute wee flag.
The problem: everything had changed!
Frustratingly, it was no longer possible to access the media and backup folders from the app itself. There must be some rationale behind this, of course, and it’s not hard to reason why. Wrong moves when messing with app files can be dangerous for your precious vocab database.
But, for low stakes operations like simply dropping an image into the media folder, it seems reasonable to have access to it (with a helpful dose of caution!). Unfortunately, there’s a dearth of how-to out there right now. It took a bit of Googling and re-Googling to find the answer. But, finally, I sorted it.
And here’s how!
Anki media folder (Mac)
The Anki library folder now lives in the following place on a Mac:
/Users/[your_username]/Library/Application Support/Anki2/[your_anki_name]
However, the path is probably hidden to you from the Library level up. To get round that, bring up your username folder (Users/[your_username]) in Finder. Then, hold down command (⌘), shift and the full stop (period, .) key to show hidden files and folders. You should now see a whole load of extra items, including the Library folder. Drill down from there along the above path, and you should end up in your Anki directory.
If it’s not there, then it’s also worth trying the ‘all users’ version of that path:
/Library/Application Support/Anki2/[your_anki_name]
Once you’ve located it and entered the (now) secret lair, it’s still collection.media we’re interested in as before. You can drop whatever you like in here, and refer to it in your card templates and other custom Anki items – just like in the old days!
Once you’re done, of course, you might well want to hit command (⌘), shift and the full stop again go hide all those oddly-named bits and pieces – until the next time!