Is there a way to get an rsync client to communicate over stdin/stdout?

Kevin Korb kmk at sanitarium.net
Wed Oct 10 18:56:49 UTC 2018


Take a look at the lsh scripts that come with rsync.

On 10/10/2018 02:53 PM, Parke via rsync wrote:
> Hello,
> 
> Is there a way to get an rsync client to communicate over stdin/stdout?
> 
> I found these two emails from 2004.  The second email mentions that
> there might be a patch.
> 
> https://www.mail-archive.com/rsync@lists.samba.org/msg09392.html
> https://www.mail-archive.com/rsync@lists.samba.org/msg09427.html
> 
> Is anyone aware of a way to do this?  Or of a published patch that does it?
> 
> I figured I would ask before modifying the rsync source code myself.
> 
> (Obviously, there would need to be some mechanism for the rsync client
> to output the command line arguments for the rsync server.  My use
> case is I have a Python script creating and managing pipes.  Python
> will Popen the rsync client, and then I want the rsync client to use
> the pipes [probably stdin and stdout] given to it by Python.)
> 
> Cheers,
> 
> Parke
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			https://sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20181010/921dbc53/signature.sig>


More information about the rsync mailing list