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...)
(No difference)

Revision as of 01:22, 18 December 2008

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_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).