#!/usr/bin/expect -f

spawn rsync -r --progress a u...@bla.com:/b
expect "assword:"
send "password\r"
expect "hostname"


why does this script stop while rsync is still transferring?


(hostname is the name of the host in the prompt)


and, yes, it HAS TO BE done using expect... any answer including the word 
"keys" will not be helpful



Thanks,

Dirk


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c4b94ff.6060...@gmx.net

Reply via email to