Re: rsync over stdin/stdout

2008-06-02 Thread Tony Mantler
On Mon, 2008-06-02 at 15:08 -0700, Matt McCutchen wrote: > On Mon, 2008-06-02 at 14:59 -0700, Tony Mantler wrote: > > What I need to do is turn this whole thing inside out, so that my > > program launches rsync rather than rsync launching my program. The > > reason for th

Re: rsync over stdin/stdout

2008-06-02 Thread Tony Mantler
On Mon, 2008-06-02 at 14:49 -0700, Matt McCutchen wrote: > On Mon, 2008-06-02 at 14:29 -0700, Tony Mantler wrote: > > On Mon, 2008-06-02 at 13:45 -0700, Matt McCutchen wrote: > > > On Mon, 2008-06-02 at 11:27 -0700, Tony Mantler wrote: > > > > Basically I need to se

Re: rsync over stdin/stdout

2008-06-02 Thread Tony Mantler
On Mon, 2008-06-02 at 13:45 -0700, Matt McCutchen wrote: > On Mon, 2008-06-02 at 11:27 -0700, Tony Mantler wrote: > > Basically I need to set up the socket beforehand and then hand it to > > rsync somehow. This seems to be possible on the 'remote' end, but I > > ha

rsync over stdin/stdout

2008-06-02 Thread Tony Mantler
So I've got this situation where I have two systems connected via a protocol that looks nothing at all like IP, and I'd like to be able to rsync between them. I can, though, open a perfectly normal looking socket through various magic and trickery. I've managed to get rsync to work by using the "