Last active
April 17, 2017 17:45
-
-
Save maxterry/23f72e72c3f60db7d824c3b87cce7dfb to your computer and use it in GitHub Desktop.
Sync local directory with server over SSH on a custom port using rsync
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
rsync -av -e 'ssh -p PORT' --update ~/directory user@IP:directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment