Projects / drsync / Comments

Comments for drsync

07 Feb 2001 08:27 dlux

Re: Is it necessary?

> What would be interresting would be
> something like a mix of this and CVS
> merge - that is, that if a file is
> changed on both sides, and is a
> text-file, it would merge the changes
> nicely... Ok, that probably creates a
> need to keep the original file, too...

This is out of the scope of this project :-(
It requires more than an rsync wrapper.

The perfect solution would be a SyncML client-server implementation.

06 Feb 2001 13:27 redhog

Re: Is it necessary?
What would be interresting would be something like a mix of this and CVS merge - that is, that if a file is changed on both sides, and is a text-file, it would merge the changes nicely... Ok, that probably creates a need to keep the original file, too...

06 Feb 2001 09:08 dlux

Re: Is it necessary?

> Hmm... Interesting idea, but (IMHO) it
> can be done with rsync itself:
>
> $ rsync -a --delete /src/path
> rsync://dst.host.com/path/
>
> The option `--delete' does exactly
> what is necessary to make destionation
> look like source, i.e. all files that
> does not exist on source side will be
> deleted on destination side.
>
> So - what for we need the wrapper?
> :)
>


It is used for 2 or more-way syncing. Imagine you add and remove files in both sides of the archive. You must keep track the filelist if you want to make difference between the 2 thing: someone added a new file in side A or someone delete a file in side B. In the first case you need to copy the file from A to B, in the second case, you must remove the file from A.

03 Jan 2001 23:54 aldem

Is it necessary?
Hmm... Interesting idea, but (IMHO) it can be done with rsync itself:

$ rsync -a --delete /src/path rsync://dst.host.com/path/

The option `--delete' does exactly what is necessary to make destionation look like source, i.e. all files that does not exist on source side will be deleted on destination side.

So - what for we need the wrapper? :)

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.