User Tools

Site Tools


rsync

This is an old revision of the document!


rsync between servers

rsync -avzhe ssh --progress directory/ [email protected]:~/

Custom port:

rsync -avzh -e "ssh -p 666" --progress directory/ [email protected]:~/

Directory Locally

rsync -avzh $source_directory $_destination_directory/


-a - archive mode, archive mode allows copying files recursively and it also preserves symbolic links, file permissions, user & group
-v - verbose
-r - recursively
-z - compress
-h - human readable output
--progress - show progress report
--include - include only the directories mentioned
--exclude - exclude only the directories mentioned

rsync.1430902598.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki