How to detect hanging rsync from bash-script ?

reiner otto
Mon, 10 Apr 2017 06:50:24 -0000

I am using rsync on an unreliable mobile WAN connection, which causes rsync
receiver to hang for long time, when connection is broken during transfere.
As the option "--timeout=" here does not hit for me, is there a
recommended
"best" method to detect such scenario ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20170410/649a5532/attachment.html>