1.0.0 • Published 6 years ago

webdav-watch v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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

npm.io npm.io