Created
October 3, 2013 02:02
-
-
Save mcescalante/6803535 to your computer and use it in GitHub Desktop.
FreeNAS 8.2 rsync remote to local, non-standard port
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
#Sync all verbose with progress from remote server to local. This is intended as a one shot sync, not to be scheduled as a cron job. Written for use with FreeNAS 8.2 as non-standard ports take a bit of work to get working. | |
#XXXX after the p flag should be replaced with the port. | |
rsync -avPz -e "ssh -pXXXX $portNumber" user@remote:/path/to/files/ /local/path/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment