Difference between revisions of "Rsync"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 6: Line 6:
 
  rsync -avv --stats --progress --partial .VirtualBox/ /root/.VirtualBox
 
  rsync -avv --stats --progress --partial .VirtualBox/ /root/.VirtualBox
  
[[Category:Commands]]
+
[[Category:Command]]

Revision as of 02:48, 4 January 2012

Rsync helps you to keep two folders in sync. This is possible over the network or local.

Copy a folder from server to the current working directory:

rsync -avv --stats --progress --partial server:/srv/repos/isos/SLES9/i386/SP2 .

Copy a folder .VirtualBox to /root:

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