And the second step , write a sample script to sync your documents to remote server with rsync commend , just like this : #!/bin/sh # format log logTpl="+[%H.%M.%S.%s] sync data to $hostname" hostname='you server address' rsyncUserName='youname' rsyncPort=portnumber # run the ...