This script help to migrate from Obsidian to Anytype.
This script converts your Wiki-links and both type of Markdown links (relative and not relative) to one format of Markdown links: Markdown links with relative path.
This output format suit for AnyType.
- Part1: bringing existing Markdown links to one format for future processing
- Part2: changing [[wiki-links]] to markdown-links
- Part3: createing relative path for all links and creating new if not exist. And creating Folders links (Folders links contain links to all included files)
- Part4: just changing " " to "%20" for Markdown standart
- Part5: remove dashes from metategs. Metategs to text.
- Create backup
- Copy to_anytype.py to root of obsidian workspace
- Execute to_anytype.py from root of Obsidian workspace.
- Import root of obsidian workspace to AnyType as markdown files
- save metatags
- maybe convert to anyblocks