Sometimes it's all about the aesthetics.

10/18/2008

Useless, not so cool rsync trick

rsync -e 'ssh -x host1 ssh' -avx --delete --bwlimit=1024 --exclude '*.spotlightIndex' host2:Documents/Papers/ Documents/Papers/

This let you synchronize files if you can't connect host2 directly and don't want to transfer it twice. However beware of the broadband problem since you might trigger DoS protection on host1... my solution is to add '--bwlimit=1024' ...

NETDEV WATCHDOG: eth0: transmit timed out
tg3: eth0: transmit timed out, resetting
tg3: tg3_stop_block timed out, ofs=2c00 enable_bit=2
tg3: tg3_stop_block timed out, ofs=1400 enable_bit=2
tg3: tg3_stop_block timed out, ofs=c00 enable_bit=2
tg3: tg3_stop_block timed out, ofs=4800 enable_bit=2
tg3: eth0: Link is down.
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
...
...

No comments: