Created
August 26, 2021 11:22
-
-
Save mamedshahmaliyev/0e213e707e920c3e29c6de9f46cba11b to your computer and use it in GitHub Desktop.
rsync remote to remote
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -R 5000:to_ip:22 root@from_ip 'rsync -e "ssh -p 5000" -vuar from_path/* localhost:to_path' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment