Open up Terminal
and type:
git clone https://github.com/tylerCaineRhodes/anki-imports.git
Run this once to create the commands:
chmod +x ~/anki-imports/*.sh && echo "# Anki aliases
alias ankimedia=\"cd ~/Library/Application\ Support/Anki2/User\ 1/collection.media\"
alias importmedia=\"~/anki-imports/./import_media_to_anki.sh\"
alias prunemedia=\"~/anki-imports/./prune_anki_media.sh\"" >> ~/.zshrc && source ~/.zshrc
Make a new directory called anki_downloads to export your media to:
mkdir -p ~/anki_downloads
Import the media to anki:
importmedia
Import items.csv to Anki UI from the anki_csv
directory.
Empty the directories for the next import:
prunemedia