Using rsync

From MDWiki
Revision as of 01:22, 18 December 2008 by Roy (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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