Displaying 1 result from an estimated 1 matches for "pc_target".
Did you mean:
c_target
2005 Oct 11
1
Rsync hangs after a while when tunneling from A->B->C
...#
_______________________________________________________________________________
#!/bin/bash
# Command to synchronize (only update) two computers based on RSYNC
FOLDER_SOURCE="/cygdrive/d/scripts"
FOLDER_TARGET="/cygdrive/g/stefaanlh/scripts"
PC_SOURCE="ip of pc-A"
PC_TARGET="ip of pc-C"
echo Synchronizing of SOURCE with TARGET
rsync -auvvvz --timeout=999 -e "ssh stefaanlh@ip-pc-B ssh"
$FOLDER_SOURCE/ $PC_TARGET:$FOLDER_TARGET
echo Synchronizing of TARGET with SOURCE
rsync -auvvvz --timeout=999 -e "ssh stefaanlh@ip-pc-B ssh"
$PC_TARGET:...