[CentOS] using rsync to sync desktop /home/user of to laptop /home/user

Tue Jun 16 17:22:43 UTC 2015
Antonio S. Martins Jr. <asmartins at uem.br>

----- "g" <geleem at bellsouth.net> escreveu:

> De: "g" <geleem at bellsouth.net>
> Para: centos at centos.org
> Enviadas: Terça-feira, 16 de Junho de 2015 13:28:33 (GMT-0300) Auto-Detected
> Assunto: [CentOS] using rsync to sync desktop /home/user of to laptop /home/user
>
> greetings,
> 
> i want to sync my desktop home directory to my laptop home
> directory. i am using KDE for desktop.
> 
> a problem that i foresee is the different screens between the 2.
> 
> i synced using;
> 
>   rsync -a -u -v -e ssh /home/geo geo at 192.168.1.5:/home/geo.new
> 
> with intent of in laptop's /home;
> 
>   mv geo geo.org
>   mv geo.new geo
> 
> what files and directories in 'org' directory need to be copied
> to the 'new' directory so that i will maintain screen setup in
> laptop?
> 

Hi,

   I'm using unison (http://www.cis.upenn.edu/~bcpierce/unison/) to do this.  It can
sync in both ways if files are changed on both sides between syncs.

   And, IMHO it's better to filter out the directories that contain configuration
for the systems, or better, sync only the documents and other pertinent files.

   Att.,

         Antonio.

--
Antonio da Silva Martins Jr. 
Analista de Suporte
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: asmartins at uem.br 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100                     

     "Real Programmers don’t need comments — the code is obvious."

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.