What I’m trying to do
I am consolidating my various journal entries into my Obsidian vault in daily note format.
In this instance, I am dealing with a large group of entries that I have moved over from Day One using the Day One to Obsidian Script.
Each entry has a filename starting with YYYY-MM-DD, but entries on the same day also have a suffix a, b, c… depending on how many there are, so for example, if you had three entries for today (31 August 2021), they would be titled 2021-08-31, 2021-08-31a, and 2021-08-31b.
The files in the example above share the same date prefix (2021-08-31). Could anyone show me a way to automatically go through a folder of such files and merge every instance of a file with an additional letter suffix (e.g. 2021-08-31a), with the file that shares the same date prefix and has no suffix (e.g. 2021-08-31)?
I am running Obsidian 0.12.12 on macOS 11.5.2.
Things I have tried
I feel that this problem requires some manipulation of the markdown files on the system folder, either with Unix or a scripting language (AppleScript or JavaScript). I do not yet have the ability to do this. I have searched this forum and the web for ideas, but nothing specific has come up. I plan to learn the languages and find a way, but I am wondering whether someone here with the required fluency might be able to show me how.