rsync -PhaC ./folder/ remote.host:~/folder/ > rsync.log
Enter Your Password
Hit ctrl-z to pause then type 'bg' to send process to background.
Find the pid of the rsync process with:
$ ps | grep rsync | cut -d' ' -f 1 > rsync.pid; cat rsync.pid;
disown `cat rsync.pid`
Now you can logout and the transfer will continue on. To kill the process, simply enter the following:
kill `cat rsync.pid`
To monitor progress, just type:
tail -f rsync.log
Thursday, September 25, 2008
Subscribe to:
Posts
(
Atom
)