Rsync
From Linuxintro
Revision as of 06:18, 16 January 2012 by 217.250.240.216 (talk)
Rsync helps you to keep two folders in sync. This is possible over the network or local.
over the network
The following command sends the directory /srv/www/htdocs over to server:
rsync -avv --stats <html><acronym title="show a progress">--progress</acronym></html> --partial /srv/www/htdocs server:/srv/www
locally
Copy a folder .VirtualBox to /root:
rsync -avv --stats --progress --partial .VirtualBox/ /root/.VirtualBox
See also
- cloning -- how to clone a complete computer incl. device files
- unison -- a "graphical rsync"
- rsync's man page