1.3.0 • Published 5 years ago

@aneutralgiraffe/watch-scp v1.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

watch-scp

Watches local folder(s) and copies changed files to remote folder(s) via scp.

Install

npm install -g @aneutralgiraffe/watch-scp

Setup

Navigate to the install folder:

cd $(npm root -g)/@aneutralgiraffe/watch-scp

Create a copy of watch-scp-config-example.json named watch-scp-config.json. Replace the example config values with your real values.

Multiple config objects can be provided.

[
    {
        "src": "/a/local/folder",
        "dest": "/a/remote/folder",
        "remoteHost": "some-remote-host.com",
        "remoteUser": "myremoteuser" // Optional - will fallback to using your local user
    },
    // ... Optional additional config objects
]

Usage

In your terminal, run:

watch-scp
1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago