Created
May 20, 2017 17:13
-
-
Save thiagosf/bc94233da01295b5aed0250ba3af9c22 to your computer and use it in GitHub Desktop.
Transferência de arquivos com rsync e nohup para executar em background
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
| # -v, --verbose increase verbosity | |
| # -a, --archive archive mode; same as -rlptgoD (no -H) | |
| # --no-OPTION turn off an implied OPTION (e.g. --no-D) | |
| # -r, --recursive recurse into directories | |
| # -p, --perms preserve permissions | |
| # --executability preserve the file's executability | |
| # --chmod=CHMOD affect file and/or directory permissions | |
| # -z, --compress compress file data during the transfer | |
| # --compress-level=NUM explicitly set compression level | |
| # -C, --cvs-exclude auto-ignore files the same way CVS does | |
| nohup rsync -Cravzp site [email protected]:/var/site & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment