All Projects → mateogianolio → Sshync

mateogianolio / Sshync

Licence: other
Auto-sync files or directories over SSH.

Programming Languages

javascript
184084 projects - #8 most used programming language

sshync

Auto-sync files or directories over SSH using rsync and fs.watch().

Animated usage GIF

Exclude files or directories by creating .sshyncignore in your source root (see repo root for example).

Default rsync options:

  • a – archive mode
  • v – verbose
  • u – update
  • z – compress
$ npm install sshync -g

# Optional: Copy local SSH key to destination
# OSX: $ brew install ssh-copy-id
$ ssh-copy-id <[email protected][:port]>
# initialize sshync
$ sshync <source> <[email protected][:port]:destination>
          source:       local source file/folder.
          destination:  remote destination file/folder.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].