Tips

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