Exporting notes from app 'reminder'
The app 'reminders' (spanish name 'Notas') stores the notes in the directory ~/.local/share/com.ubuntu.reminders/@local as:
$ cat notes.cache
[notebooks]
4d853cee-9476-4e19-82fe-5f577b01698e=2
[notes]
a0ae2c53-1c7d-4d2a-b1c5-ea876e3f4ca1=10
da5e2110-d1a8-4470-a8bc-d5115720db57=21
efc58768-d28a-4df0-9e41-4893e5c2af54=2deleted notes stay in the directory, like this one:
note-09f23799-df97-40f9-b4ff-6835688ed644.enml (a deleted one)they are just not referenced in the notes.cache file, like this one which is still valid:
note-efc58768-d28a-4df0-9e41-4893e5c2af54.enml (a valid one)for every note exist two files, a .info file and the note itself in .enml file:
$ ls -C1
note-09f23799-df97-40f9-b4ff-6835688ed644.enml
note-09f23799-df97-40f9-b4ff-6835688ed644.info
note-a0ae2c53-1c7d-4d2a-b1c5-ea876e3f4ca1.enml
note-a0ae2c53-1c7d-4d2a-b1c5-ea876e3f4ca1.info
notebook-4d853cee-9476-4e19-82fe-5f577b01698e.info
note-da5e2110-d1a8-4470-a8bc-d5115720db57.enml
note-da5e2110-d1a8-4470-a8bc-d5115720db57.info
note-efc58768-d28a-4df0-9e41-4893e5c2af54.enml
note-efc58768-d28a-4df0-9e41-4893e5c2af54.info
notes.cachethe *.enml files contain the notes itself, HTML snipsets packed in XML, text is in UTF-8 encoded (enotacion format):
as the titel of the note is stored in the *.info file, it is a good idea to repeat the title in the note itself, for example if you have one note for any day, as I did showed it here with title "9 de septiembre";
With the help of Michael Zanetti michael.zanetti@canonical.com I got to work a small Qt5 application to parse the structure of the *.info file:
https://code.launchpad.net/~mzanetti/+junk/infodump
I compiled this in my chroot'ed env an use it together with a small shell script to export the files day by day:
The files end up in /tmp and can be fetched from there by SSH:
Last updated: Wed Oct 28 20:05:11 CET 2015
Last updated
Was this helpful?