Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 4eda6cb95756d1ef133c5bb0491dcc16 > files > 8

msynctool-0.22-9mdv2010.0.i586.rpm

This README will explain how to use msynctool together with
opensync.

-- Directory Layout

docs contains some minor documentation (more needed)
tests contain the unit tests
tools contains the msynctool

-- Building msynctool 

Build and install opensync before

run `autoreconf -sfi` to build the configure files. 
The dependencies so far are: glib-2.0, opensync
optional are: check for unit tests

run make, make install

if you like you can run make check to see if everything is working

-- Using msynctool 0.20

This example will use the filesync plugin to explain how to use the
cli to configure the syncgroup and sync 2 directories:

Run:
msynctool --addgroup "groupname"
This will add a new syncgroup (which will appear in ~/.opensync)

msynctool --addmember "groupname" file-sync
This will add a new member of type file-sync to the previous created
group. Run this command twice (since we need 2 directories.)

msynctool --configure "groupname" 1
Will open a editor for the first member (the id at the end is the same
id that is returned from --showgroup "groupname"). In the just opened file
just enter a path to a directory for example: /home/james/dir1
Save and exit

msynctool --configure "groupname" 2
enter the path of the 2. directory. save and exit

now create some files in one of the directories and run:
msynctool --sync "groupname"

If you have further questions, contact
armin.bauer@desscon.com