Using rsync: Difference between revisions

From MDWiki
Jump to navigationJump to search
(New page: == Using rsync == An efficient way to transfer files or directory between computers: rsync -avzP --delete -e 'ssh -p20' username@old_server:/old_place/ \ username@new_server:/new_p...)
 
 
Line 1: Line 1:
== Using rsync ==
An efficient way to transfer files or directory between computers:
An efficient way to transfer files or directory between computers:



Latest revision as of 01:23, 18 December 2008

An efficient way to transfer files or directory between computers:

rsync -avzP --delete -e 'ssh -p20' username@old_server:/old_place/ \

    username@new_server:/new_place/

Important, the flag --delete will delete any file at the target which does not appear at the source. Also you should put at the port flag the port on our system (if you don't know, ask the one of the 'Guru's).