Displaying 1 result from an estimated 1 matches for "os_error".
Did you mean:
xs_error
2008 Sep 29
1
rsync hangs after counting some file list
...mote m/c
set DEST [lindex $argv 2]## for dest on local m/c
eval exp_spawn rsync -avz --stats --progress --partial $LDEST $SRC $DEST
expect "password"
send "gbuilder\r"
expect %
set retVal [exp_wait]
set pid [lindex $retVal 0]
set spawn_id [lindex $retVal 1]
set os_error [lindex $retVal 2]
set exit_status [lindex $retVal 3]
exit $exit_status ## returning the exit status of the rsync command.
When I run the script I get the following output and it hangs indefinitely.
~/ravit/ravi.ex "--link-dest=/Build56/source/"
"user@remotemachine:/Build58/sou...