Can rsync write to a FIFO?
Heiko Schlittermann
hs at schlittermann.de
Sat Feb 11 14:31:18 UTC 2023
Chris Green via rsync <rsync at lists.samba.org> (Fr 10 Feb 2023 10:31:15 CET):
> Can rsync write to a FIFO? Obviously one needs the --inplace to do
> this, does one also need --write-devices?
I think, there is no point in using rsync, as there is nothing to
compare against on the remote side (and I've doubts if rsync will be
happy with a "file" that isn't seekable.)
As rsync uses SSH nowadays, I'd do something like
scp LOCAL-FILE remote-host:FIFO
But, I'm not sure if scp is happy with a FIFO on the remote end.
A fallback could be
ssh remote-host 'cat >FIFO' <LOCAL-FILE
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: F69376CE -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/rsync/attachments/20230211/a86b5826/signature.sig>
More information about the rsync
mailing list