webdav-watch

1.0.0 • Public • Published

webdav-watch

Simple cli tool for synchronizing folder with remote webdav server

npm version Code Climate dependencies:? devDependencies:?

Installation

npm install webdav-watch -g

Usage

webdav-watch watch [folder_path] -p '!**/.idea/**' -p '!**/.git/**' -r https://webdav-server.com/remote/root/folder -u username

On first call you will be requested for entering password, which will be stored in your system's keychain.

Configuration

You can pass configuration file, as -c option.

webdav-watch watch [folder_path] -c path/to/config.json

which has to have next structure:

{
  remote: 'https://webdav-server.com/remote/root/folder',
  username: 'username',
  folder: '~/project',
  patterns: [
    '!**/.idea/**',
    '!**/.git/**',
    'ANY_VALID_GLOB_HERE'
  ],
}

Advanced configuration

You can to use uri for your remote config option, that includes valid credentials, for instance, https://user:password@webdav-server.com.

License

webdav-watch is released under the MIT license.

Donate

Readme

Keywords

Package Sidebar

Install

npm i webdav-watch

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

8.41 kB

Total Files

6

Last publish

Collaborators

  • hunterman