Hello, I want to switch to Laverna but cannot without first importing my old notes. I had some success exporting a backup and editing the title / date / md of different notes, then re-zipping and importing it back in - so decided to try my hand writing a bash script.
At the moment it copies across markdown files from the sources/ folder, preserving modified date, and adding an accompanying JSON config with date in 13-char UNIX timestamp, and identical id to filename - then rezips the folder for import.
No luck with this script though.
I was able to re-import existing notes with a changed id and filename, and also with a new UNIX timestamp. Any pointers how to get this working?
Hello, I want to switch to Laverna but cannot without first importing my old notes. I had some success exporting a backup and editing the title / date / md of different notes, then re-zipping and importing it back in - so decided to try my hand writing a bash script.
It can be found here;
https://github.com/autr/laverna-markdown-import
At the moment it copies across markdown files from the sources/ folder, preserving modified date, and adding an accompanying JSON config with date in 13-char UNIX timestamp, and identical id to filename - then rezips the folder for import.
No luck with this script though.
I was able to re-import existing notes with a changed id and filename, and also with a new UNIX timestamp. Any pointers how to get this working?