creates an exact copy of the directory localdir on the remote machine faraway under the directory /home/bible/incoming/. One of the advantages of rsync is that it is efficient with bandwidth because it sends only changes to files across the network. If you make changes in one file in localdir and run the preceding command, only the changed file (actually, only parts even of that) will be transmitted across the network. rsync has other features including a server mode where it runs as a daemon and allows other machines to synchronize against a directory tree.
Was this article helpful?