Re: [Evolution-hackers] Evo 2.0 -- syncing 2 computers



>> #!/bin/sh
>> #/usr/local/bin/evo-wrapper
>> ssh anarres -e evolution --force-shutdown
>> evolution --force-shutdown
>> rsync -avzb anarres:~/.evolution/ ~/.evolution
>> rsync -avzb anarres:~/.gconf/apps/evolution/ ~/.gconf/apps/evolution
>> /usr/bin/evolution-2.0
>> evolution --force-shutdown
>> rsync -azvb ~/.evolution anarres:~/.evolution
>> rsync -avzb ~/.gconf/apps/evolution/ anarres:~/.gconf/apps/evolution
>> 
>> .. hmmm...  still doesn't seem to work!  Am I missing something
>> essential about, say, how evolution-data-server works?  
>> 
>gconfd should also not be running on the machine you're copying the
>files too, or it won't notice the new values in the .gconf directory.

With gconf-tool-2 -dump and a -load you could sync the conf without stoping
the confd.

ssh anarres gconftool-2 --dump /apps/evolution > gconf-evo.dump.xml
gconftool-2 --load=gconf-evo.dump.xml

-- 
bisho!  _        -=] 14/10/2004 [=-
    _ ^(   )       _
   (  (   )  )     \ \___,,,     [ SAY NO TO WAR ]
  (        )        / _____ >-
    ( :: )       >==-
  '. |::| ,  >==-
    \\:://   ::               Say NO!!! to SW PATENTS               :: 
    ........::                 EuropeSwPatentFree:                   ::
   ::            http://europeswpatentfree.hispalinux.es/             ::



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]