Displaying 1 result from an estimated 1 matches for "get_m".
Did you mean:
get_
2006 Dec 29
1
How to improve speed of a single file transfer over an unstable link?
...ckground...
What I'm trying to do is copy a 21GB backup file from my parent's house to
my home to help them with their new computer. But the link is sporadic,
thus a continous copy will not succeed. The session dies after 25mins - 2
hours.
Thus, I've scripted the following script 'get_me.sh'
#!/bin/sh
mv .file.bkf.* ./file.bkf
rsync --timeout 90 user@remote:/dir/file.bkf ./file.bkf
./getme.sh
So, the script moves the temp file created by rsync onto the file itself,
then calls rsync to continue sync'ing, and then after rsync losses it's
connection, the scr...