Obsidian Utils is a collection of Python scripts that serve as utility tools for the Obsidian note-taking application. The tool includes functions to manipulate tags, links, and metadata in Obsidian notes stored as Markdown files.
- Replace specific tags in YAML metadata across all Obsidian notes.
- Traverse recursively all subdirectories in the Obsidian library.
- And many more utility functions coming soon!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python 3.6+
- Obsidian
- Clone the repository:
git clone https://github.com/Lejoon/obsidian-utils.git
- Navigate to the cloned directory:
cd obsidian-utils
- Install the required packages:
pip install -r requirements.txt
-
Replace tags in YAML metadata blocks:
from obsidian_utils import replace_tags_in_yaml replace_tags_in_yaml("/path/to/your/obsidian/library", "old_tag", "new_tag")
This project is licensed under the MIT License.