whaler-rsync-plugin

0.3.2 • Public • Published

Whaler rsync plugin

Install

whaler plugins:install whaler-rsync-plugin

Usage

NB! By default [app] is current dir name.

Sync files from current dir to remote machine

whaler rsync . [app]@<domain name or IP>

Sync files from remote machine to current dir

whaler rsync [app]@<domain name or IP> .

Sync single file from current dir to remote machine

whaler rsync ./file.txt [app]@<domain name or IP>

Sync single file from remote machine to current dir

whaler rsync [app]@<domain name or IP>:/file.txt ./

Sync to remote machine service

whaler rsync . <service>.[app]@<domain name or IP>:/var/www

Sync from remote machine service

whaler rsync <service>.[app]@<domain name or IP>:/var/www ./

NB! Create a .rsyncignore file with a list of all the files and directories you don't want to backup.

License

This software is under the MIT license. See the complete license in:

LICENSE

Readme

Keywords

Package Sidebar

Install

npm i whaler-rsync-plugin

Weekly Downloads

15

Version

0.3.2

License

MIT

Unpacked Size

22.9 kB

Total Files

11

Last publish

Collaborators

  • cravler