You are not logged in.
Pages: 1
I just got a new laptop and want to sync all my data from my old pc... after reading around I figured rsync was the best prog to do this... but I have no Idea how to use it. Can anyone gimme some simple instructions on how use rsync?
Last edited by majik67 (2007-06-11 17:36:51)
Offline
rsync -avPze ssh user@box1:/path/to/file/or/directory user@box2:/path/to/files/or/directory
example
to move directory /home/cthulhu into /home box 2
rsync -avPze /home/cthulhu root@box2:/home
the result will be the whole directory cthulhu will move to box2 in /home
notice the lack of trailing slash! the trailing slash means "stuff in this directory" as opposed to "this whole directory"
bam!
now your a wiz!
Offline
Pages: 1