Skip to content

Instantly share code, notes, and snippets.

@nazarii-piontko
Last active April 25, 2021 12:20
Show Gist options
  • Save nazarii-piontko/9b068f080db5435db8475c9ca4a76234 to your computer and use it in GitHub Desktop.
Save nazarii-piontko/9b068f080db5435db8475c9ca4a76234 to your computer and use it in GitHub Desktop.
Fast rsync transfer options
#!/bin/bash
rsync -aHAXxv --numeric-ids -e "ssh -oStrictHostKeyChecking=no -T -c aes128-gcm@openssh.com -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