Rsync
From Useful Things
Revision as of 16:48, 14 September 2014 by Milosivanovic (talk | contribs)
Contents
Common arguments
-a same as --archive
-v same as --verbose
-x same as --one-file-system
-z compress files over the network
Push
rsync -avx /path/to/source user@host:/path/to/destinationPull
rsync -avx user@host:/path/to/source /path/to/destinationPull via SSH
rsync -avx --progress -e 'ssh -p 1080' --exclude-from=EXCLUDE_FILESOURCE_IP:/ /-p to specify alternate SSH port