- Good news, though! It is now an Obsidian plugin.
- It lives now at https://github.com/wealthychef1/obsidian-tag-delete-plugin
- BACK UP FIRST
- I have tested it on my own data and am satisfied it "shouldn't" do any bad things but: Always back up your data before running this script
obsidian-tag-delete.sh -h
obsidian-tag-delete.sh mytag anothertag myfile.md
Per the documentation, this script assumes tags are in the body of your document in this form:
#mytag
Or they can be in the frontmatter (YAML) in this form: ("Tags" may be "tags")
Tags: mytag
Or:
# these will all be deleted by the script
Tags: [mytag, mytag, mytag mytag]
But not:
Tags:
- mytag