Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

A simple (?) shell script to delete a tag from an Obsidian.md Markdown file

Notifications You must be signed in to change notification settings

wealthychef1/obsidian-tag-delete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Do not use this software. It's broken.

Warning: this script deletes data from your vault: use at your own risk

  • 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

Usage

obsidian-tag-delete.sh -h

Example

obsidian-tag-delete.sh mytag anothertag myfile.md

Assumptions

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

About

A simple (?) shell script to delete a tag from an Obsidian.md Markdown file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages