← Back to team overview

zim-wiki team mailing list archive

Re: Sync a notebook with git: about index.db state.conf


I currently use Dropbox (plus encfs) to sync. I have "Shared Notebook" in
File -> Properties set to true and this avoids writing a .zim folder as a
child of the Notebook's root folder. I believe simply not syncing folder
has a similar effect. Zim will detect that its indices are out of date and
recreate them on your local copy. (Use Tools -> Update Index to kick it off
manually.) In the case of Shared Notebook, they are stored in somewhere in
a hidden folder under ~.
Definitely don't sync binary index files via Git; you'll end up with a long
useless history. All of the data in the .zim folder is secondary and
2011/11/14 François Boulogne <boulogne.f@xxxxxxxxx>

> Hi,
> I sync my notes with git. My question is quite simple. Is it necessary
> to track index.db  and state.conf in .zim?
> Both files have to be fixed by hand if I foget to push/pull when I use
> another computer in the mean time and this is boring.
> Thanks for your help.
> --
> François Boulogne.
> Membre de l'April - Promouvoir et défendre le logiciel libre
> http://www.april.org
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp

Follow ups