I’m looking to add a standard front matter template to imported notes and then work through updating the metadata. Are there any tools or scripts to go through and insert text at the beginning of a batch of files? I was looking at VSCode which can obviously do a search and replace across multiple files but I couldn’t see an easy option to just insert text.
I’m using Mac so Automator / Scripting / Alfred etc. are all possibilities.
Sorry you haven’t gotten any answers on this. So I had the same problem, but my solution might be too technical. You can write a script in the language of your choice (python, javascript, etc.) to add lines to all your notes. Obsidian is going to format frontmatter bounded by --- in an upcoming version.