Re: employ rsync per file?

Joe Orton <[email protected]> Thu, 30 Mar 2006 21:34:56 +0100
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
On Thu, Mar 30, 2006 at 05:51:26AM +0800, Dan Jacobson wrote:
> Man page says: ...try rsync instead.
> Say, couldn't sitecopy employ rsync as one of its optional backend methods,
> gaining speed over ftp, for mundane updating?
> 
> I.e., I like the sitecopy model, except when it comes down to sending
> each individual file, then it would be nice to have bring in rsync if
> available and chosen by the user, to speed things up a bit.

You could probably arrange this if you are using the rsh/rcp config 
options with suitable wrapper scripts.  Integrating it into sitecopy 
itself probably isn't sensible, since the rsync protocol itself does not 
support moving/renaming files.

But really, if you can use rsync between client and server I'd just do 
so and not use sitecopy at all.  rsync will be much faster in all cases 
apart from moving files about; but even that's something that could be 
fixed in rsync too, I expect.

Regards,

joe
_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy