Si al pasar datos por SCP aparece un error tipo:
packet_write_wait: Connection to 79.108.206.57: Broken pipe lost connection
«Resume transfer of a single file by rsync»
scp -r /Users/treenovum/Downloads/SQLSer12 pi@kikedev.sytes.net:Desktop/SQL
rsync –partial –progress –rsh=ssh -r /Users/treenovum/Downloads/SQLSer12 pi@kikedev.sytes.net:Desktop/SQL
http://superuser.com/questions/302842/resume-rsync-over-ssh-after-broken-connection #!/bin/bash while [ 1 ] do rsync -avz --partial source dest if [ "$?" = "0" ] ; then echo "rsync completed normally" exit else echo "Rsync failure. Backing off and retrying..." sleep 180 fi done