You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have cards with given IDs and I would like to give them to my colleague. Unfortunately, it seems to not be possible to generate an Anki Deck from cards, which have IDs provided already.
This could also be a problem, if one deletes the deck locally and needs to regenerate it.
I have tried to clear the Media Cache and the File Hash Cache.
Or is this an intended feature?
The text was updated successfully, but these errors were encountered:
My current solution is to remove all IDs from the cards using the following script:
#!/bin/bash# Use the current directory as the Obsidian vault directory
VAULT_DIR="$(pwd)"echo"Removing Obsidian Anki IDs from markdown files at $VAULT_DIR"# Use 'find' to locate all markdown files in current directory and subdirectories, then process each file
find "$VAULT_DIR" -type f -name "*.md"|whileread -r file;do# Use 'sed' to delete lines containing the pattern <!--ID: number-->
sed -i '/<!--ID: [0-9]\+-->/d'"$file"doneecho"Finished removing IDs from markdown files."
I have cards with given IDs and I would like to give them to my colleague. Unfortunately, it seems to not be possible to generate an Anki Deck from cards, which have IDs provided already.
This could also be a problem, if one deletes the deck locally and needs to regenerate it.
I have tried to clear the Media Cache and the File Hash Cache.
Or is this an intended feature?
The text was updated successfully, but these errors were encountered: