Skip to content

whaler/whaler-rsync-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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