sshync
v1.1.3
Published
Auto-sync files or directories over SSH
Downloads
45
Maintainers
Readme
sshync
Auto-sync files or directories over SSH using rsync and fs.watch().
Exclude files or directories by creating .sshyncignore
in your source root (see repo root for example).
Default rsync options:
a
– archive modev
– verboseu
– updatez
– compress
$ npm install sshync -g
# Optional: Copy local SSH key to destination
# OSX: $ brew install ssh-copy-id
$ ssh-copy-id <user@ip[:port]>
# initialize sshync
$ sshync <source> <user@ip[:port]:destination>
source: local source file/folder.
destination: remote destination file/folder.