Help!

software to synchronize laptop with server or desktop?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Portable RSS
Next:  tbf/htb heavily inaccurate transfer rate.  
Author Message
cl
External


Since: Dec 29, 2006
Posts: 4



PostPosted: Fri Dec 29, 2006 7:22 pm    Post subject: software to synchronize laptop with server or desktop?
Archived from groups: comp>os>linux>portable (more info?)

Hi,
using my mobile laptop and working at my office, I have to synchronize daily
these two computers. And it is dangerous and important not to owerwrite an
newer file or directory with an older one.

Is there any software unter Linux avaliable or perhaps a shell-script to
automatize this task?
SUSE-Linux 10.2, KDE

Thank you for help!

Christian Lee, MD
9410 Heiden
Switzerland
Back to top
A. Melinte
External


Since: Aug 10, 2005
Posts: 13



PostPosted: Fri Dec 29, 2006 7:22 pm    Post subject: Re: software to synchronize laptop with server or desktop? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"cl" <christian.lee.RemoveThis@lee-heiden.ch> wrote in message
news:45955971$0$3867$5402220f@news.sunrise.ch...
> Hi,
> using my mobile laptop and working at my office, I have to synchronize
daily
> these two computers. And it is dangerous and important not to owerwrite an
> newer file or directory with an older one.
>
> Is there any software unter Linux avaliable or perhaps a shell-script to
> automatize this task?
> SUSE-Linux 10.2, KDE


Try rsync.

Regards
a.
Back to top
Barry Samuels
External


Since: May 16, 2006
Posts: 12



PostPosted: Fri Dec 29, 2006 7:59 pm    Post subject: Re: software to synchronize laptop with server or desktop? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 29 Dec 2006 19:22:14 +0100, cl wrote:

> Hi,
> using my mobile laptop and working at my office, I have to synchronize daily
> these two computers. And it is dangerous and important not to owerwrite an
> newer file or directory with an older one.
>
> Is there any software unter Linux avaliable or perhaps a shell-script to
> automatize this task?
> SUSE-Linux 10.2, KDE

Have a look at Unison.

http://www.cis.upenn.edu/~bcpierce/unison/

--
Barry Samuels
http://www.beenthere-donethat.org.uk - The Unofficial Guide to Great Britain

My real email address is barry (AT) realbritain (DOT) f2s (DOT) com
Back to top
Michal Jaegermann
External


Since: Jun 06, 2004
Posts: 62



PostPosted: Fri Dec 29, 2006 8:03 pm    Post subject: Re: software to synchronize laptop with server or desktop? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

cl <christian.lee.TakeThisOut@lee-heiden.ch> wrote:
> Hi,
> using my mobile laptop and working at my office, I have to synchronize daily
> these two computers. And it is dangerous and important not to owerwrite an
> newer file or directory with an older one.
>
> Is there any software unter Linux avaliable

'man rsync', option '--update' and all other explanations and
examples there.

> or perhaps a shell-script to
> automatize this task?

Or use 'cpio'; it does not overwrite newer files by older versions
unless '--unconditional' option is used. Use ssh when writing
on remote instead of rsh and ~/.rhosts. If 'List' is something
which produces a list of files to sync, terminating each name with
'\0', something in this style should do

List | cpio -oac0 | ssh owner@remote "(cd $target && cpio -imd)"

but other variations are also possible.

Michal
Back to top
cl
External


Since: Dec 29, 2006
Posts: 4



PostPosted: Fri Dec 29, 2006 9:38 pm    Post subject: Re: software to synchronize laptop with server or desktop? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michal Jaegermann wrote:

> cl <christian.lee DeleteThis @lee-heiden.ch> wrote:
>> Hi,
>> using my mobile laptop and working at my office, I have to synchronize
>> daily these two computers. And it is dangerous and important not to
>> owerwrite an newer file or directory with an older one.
>>
>> Is there any software unter Linux avaliable
>
> 'man rsync', option '--update' and all other explanations and
> examples there.
>
>> or perhaps a shell-script to
>> automatize this task?
>
> Or use 'cpio'; it does not overwrite newer files by older versions
> unless '--unconditional' option is used. Use ssh when writing
> on remote instead of rsh and ~/.rhosts. If 'List' is something
> which produces a list of files to sync, terminating each name with
> '\0', something in this style should do
>
> List | cpio -oac0 | ssh owner@remote "(cd $target && cpio -imd)"
>
> but other variations are also possible.
>
> Michal

Thanks all for help! I'll find what I am looking for.

Christian Lee
Back to top
Unruh
External


Since: May 27, 2005
Posts: 2213



PostPosted: Sun Mar 25, 2007 4:00 pm    Post subject: Re: software to synchronize laptop with server or desktop? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

cl <christian.lee RemoveThis @lee-heiden.ch> writes:

>Hi,
>using my mobile laptop and working at my office, I have to synchronize daily
>these two computers. And it is dangerous and important not to owerwrite an
>newer file or directory with an older one.

>Is there any software unter Linux avaliable or perhaps a shell-script to
>automatize this task?
>SUSE-Linux 10.2, KDE

>Thank you for help!

>Christian Lee, MD
>9410 Heiden
>Switzerland

rsync?
Back to top
Philipp Pagel
External


Since: Jun 13, 2006
Posts: 23



PostPosted: Mon Mar 26, 2007 8:00 am    Post subject: Re: software to synchronize laptop with server or desktop? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Unruh <unruh-spam DeleteThis @physics.ubc.ca> wrote:
> >using my mobile laptop and working at my office, I have to synchronize daily
> >these two computers. And it is dangerous and important not to owerwrite an
> >newer file or directory with an older one.

> rsync?

And if rsync is too much hassle - e.g. when files are frequently edited
on both machines have a look at unison:

http://www.cis.upenn.edu/~bcpierce/unison/

cu
Philipp

--
Dr. Philipp Pagel Tel. +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics Fax. +49-8161-71 2186
Technical University of Munich
http://mips.gsf.de/staff/pagel
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Portable All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum