Difference between revisions of "Rsync"

From Linuxintro
imported>ThorstenStaerk
(this is a very good example as it shows the crude directory handling)
imported>ThorstenStaerk
Line 10: Line 10:
  
 
= See also =
 
= See also =
 +
* [[cloning]]  --  how to clone a complete computer incl. [[device]] files
 +
* [[unison]]  --  a "graphical rsync"
 
* [http://linux.die.net/man/1/rsync rsync's man page]
 
* [http://linux.die.net/man/1/rsync rsync's man page]
  
 
[[Category:Command]]
 
[[Category:Command]]

Revision as of 12:51, 15 January 2012

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 --progress --partial /srv/www/htdocs server:/srv/www

locally

Copy a folder .VirtualBox to /root:

rsync -avv --stats --progress --partial .VirtualBox/ /root/.VirtualBox

See also