Last active
April 25, 2021 12:20
-
-
Save nazarii-piontko/9b068f080db5435db8475c9ca4a76234 to your computer and use it in GitHub Desktop.
Fast rsync transfer options
This file contains 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
#!/bin/bash | |
rsync -aHAXxv --numeric-ids -e "ssh -oStrictHostKeyChecking=no -T -c [email protected] -o Compression=no -x" $1 $2 | |
# https://explainshell.com/explain?cmd=rsync+-aHAXxv+--numeric-ids+-e+%22ssh+-oStrictHostKeyChecking%3Dno+-T+-c+aes128-gcm%40openssh.com+-o+Compression%3Dno+-x%22 | |
# https://explainshell.com/explain?cmd=ssh+-oStrictHostKeyChecking%3Dno+-T+-c+aes128-gcm%40openssh.com+-o+Compression%3Dno+-x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment