We have moved to a new Sailfish OS Forum. Please start new discussions there.
7

Storage Location of data of Notes app

asked 2014-01-26 20:19:57 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-07-25 13:19:39 +0300

jiit gravatar image

Hello,

to transfer my notes from my previous phone to Jolla, I'd like to use a plain text editor on the console.

However I couldn't find the location of the data of the Notes app on the flash. Is the data stored as plain text or in a database? How could I edit it in a shell?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2014-01-27 00:53:29 +0300

mcantsin gravatar image

updated 2014-01-27 01:58:12 +0300

It looks like they are stored in /home/nemo/.local/share/jolla-notes/QML/OfflineStorage/Databases/ as sqlite file. So you could use sqlite3 to edit it in the command line.

But actually an option for notes to be stored on an IMAP server, if configured in accounts, should be implemented.

edit flag offensive delete publish link more

Comments

Plain text data in db and not in files..!? I just hope the Documents apps' plain text format support will not be implemented similarly ;)

foss4ever ( 2014-01-27 03:18:22 +0300 )edit
1

@jjaone I suspect it's in a database because that's how QML's LocalStorage works and it wouldn't be worth the trouble to implement a custom format for saving to plaintext files.

Nicd ( 2014-01-27 08:01:16 +0300 )edit
1

Yeah, I'm not too familiar with QML- conventions, but I wasn't aware that plaintext wasn't just that, a simple text file. Maybe I have been using too much systems (desktop Linux) where .txt files are not custom formats but content that you can read, write and manipulate with a multitude of simple CLI and GUI-tools.

foss4ever ( 2014-01-27 08:45:38 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2014-01-26 20:19:57 +0300

Seen: 1,628 times

Last updated: Jan 27 '14