ℹ️ This operation is mostly relevant for Breadcrumbs users, who have wikilinks in their yaml frontmatter that needs to be converted to quoted wikilinks for Obsidian 1.4
- The
awkcommand ensures that only files that have frontmatter are affected. - The
sedcommand is restricted to apply the change only to wikilinks in the frontmatter, not elsewhere. - The command works fine in my vault, but I haven't tested it elsewhere, so please make backups before. (If you use git, use
git diffafterwards to check all changes.)
---
parent: [[My Note]]
children:
- [[Other Note]]
---
[[My Note]]Only the wikilinks in the frontmatter are affected:
---
parent: "[[My Note]]"
children:
- "[[Other Note]]"
---
[[My Note]]