Python Script: Extract notes from specific tag

Hello everyone, yesterday I was wondering how could I send my University notes to a friend, and saw that it was going to be difficult, due to the fact that I keep all my notes in the root folder.

So my idea was to tag my Home course notes, and create a script that will recursively find all links, starting from that note, and generate a zip from it.

This is my vault

This is the new vault I created from the script

This is my first contribution to obsidian, feel free to try it, starring it in github and contribute to it!

Link to the GitHub project: https://github.com/danymat/Obsidian-Extractor

Would love to have a review!

1 Like

Hey- if I dont specify a tag, will it/can it just backup the whole vault?

Hey,

I just released the option to export all vault without specifying the tag:

python3 obsd_extract.py your_vault_path
1 Like