Skip to content

cosmozhang1995/watch-scp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

watch-scp

Watch file changes in a directory, and use scp to synchronize to remote.

Start up

Install the package

npm install -g watch-scp

Configuration

Enter your working directory, run watch-scp init. This will generate a configuration file config.toml in current directory. Modify the generated configuration file to satisfy your requirements.

Start

Run watch-scp.

Specify a configuration file

You can specify a specific configuration file instead of the default ./config.toml. Use the -c or --config option. e.g.: watch-scp -c ~/foo.toml.

Of course you can initialize the working directory with a specified configuration filename. e.g.: watch-scp init -c foo.toml.

About

Watch file changes in a directory, and use scp to synchronize to remote.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%