@jack2684/sshync

1.1.2-landing.1 • Public • Published

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 <user@ip[:port]>
# initialize sshync
$ sshync <source> <user@ip[:port]:destination>
          source:       local source file/folder.
          destination:  remote destination file/folder.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @jack2684/sshync

    Weekly Downloads

    0

    Version

    1.1.2-landing.1

    License

    MIT

    Unpacked Size

    1.22 MB

    Total Files

    6

    Last publish

    Collaborators

    • jack2684