By default, RedNotebook store data under
1 |
~/.rednotebook/data |
To share data between different computers, a file sharing system like Dropbox, OwnCloud or SpiderOak can be useful.
In this example I use SpiderOak as file sharing system.
First step: create a folder (eg. named rednotebook-data) in your synced folder
1 |
mkdir ~/SpiderOak\ Hive/rednotebook-data |
Second step: move data under justly created folder
1 |
mv -r ~/.rednotebook/data/* ~/SpiderOak\ Hive/rednotebook-data |
Third step: remove now empty folder
1 |
rm -rf ~/.rednotebook/data |
Final step: create a symobolic link
1 |
ln -s ~/SpiderOak\ Hive/rednotebook-data/ ~/.rednotebook/data |
Great post! New to symlinks. I was planning to try this between a windows and ubuntu machine via dropbox. Would there be any issues with using it on different platforms. Looking at this write up about the windows commands. http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/
seems -r isn’t a a correct parameter for mv.
It gave an error (Bash in Ubuntu 16.04)