On 07/24/2010 07:35 PM, Dirk wrote:
> #!/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, y
On Sat July 24 2010 18:57:57 Dirk wrote:
> does not work
Ah yes. I should have noticed that you're probably using ssh.
Try installing sshpass instead of using expect. When rsync sees
expect's sockets it mistakenly thinks it's a daemon.
--Mike Bird
--
To UNSUBSCRIBE, email to debian-user-re
Mike Bird wrote:
> On Sat July 24 2010 18:36:47 Dirk wrote:
>> #!/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 o
#!/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 includin
On Sat July 24 2010 18:36:47 Dirk wrote:
> #!/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)
>
>
>
#!/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 includin
6 matches
Mail list logo