New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

deploy-rsync

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deploy-rsync

> Control rsync with config in your package.json

  • 2.3.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Deploy

Control rsync with config in your package.json

Installation

npm install -g deploy-rsync

Use

Configuration for deploy is handled by adding configuration to your package.json file. An example configuration is:

"deploy": {
	"destinations": [ {
		"dest": "user@host:/path/to/directory",
		"name": "Host #1",
		"alias": "host-1",
		"env": (object),
		"preHooks": (array or string),
		"postHooks": (array or string)
	}, ... ],
	"exclude": [ "pattern1", ... ],
	"args": [ "--update" ],

	// or optionally:
	"src": "...",
	"dest": "...",
	"args": [ "-avn" ],
}

Then you may run deploy in the same directory as this package.json file.

$ deploy

(This runs in interactive mode, and prompts for various options)

Or, to run in non-interactive mode:

$ deploy --alias host-1

If you do not wish to be prompted for confirmation, add the --no-confirm flag.

FAQs

Package last updated on 27 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc