1.0.3 • Published 5 years ago

ssh-sync v1.0.3

Weekly downloads
1
License
GNU GPL Version 3
Repository
-
Last release
5 years ago

ssh-sync

Sync a local directory with a remote directory via ssh. Requires that rsync be installed: https://rsync.samba.org/download.html

npm install ssh-sync --save
require('ssh-sync')({
    watch: true,
    /*
        will call rsync on any changes within the local.directory
    */

    local: {
        directory: <local directory>,
        exclude: [
            <path in local directory to exclude>,
            <path in local directory to exclude>,
            <path in local directory to exclude>
        ]
    },
    remote: {
        address: <ip address>,
        user: <username address>,
        key: <path to key path>,
        directory: <remote directory>
    }
});
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

7 years ago