Dear list,

I am able to copy a subtree 'www' with the command

; tar -cf - www | pv|  (cd ~ruda/tmp/test && tar -xpf -)

but I can't do the same with

In one terminal:
;tar -cf - www | pv | nc localhost 7000

In another terminal:
;nc -l 7000 | pv | tar -xpf -


[
I actually wanted to do a backup of the subtree with rsync over the
network, but that didn't work, spitting sth. like

rsync error: unexplained error (code 255) at io.c(820) [sender=3.1.3]
[sender] _exit_cleanup(code=10, file=io.c, line=820): about to call
exit(255)

I then tried to do the copying with nc, which again did not succeed; but
without any message this time, it just got stuck.

So I tried to copy just locally, within one machine, using localhost.
]

What one sees with the nc command is that the connection keeps existing,
but the copying itself stops. Ie., I can ctrl-c at the source end, and
the receiving command exits.

As I have no idea what can cause this behaviour, I am asking for any
help.

Thank you!


Best regards
Rudolf Sykora

Reply via email to