Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whaler/whaler-rsync-plugin
Whaler rsync plugin
https://github.com/whaler/whaler-rsync-plugin
plugin rsync whaler
Last synced: 25 days ago
JSON representation
Whaler rsync plugin
- Host: GitHub
- URL: https://github.com/whaler/whaler-rsync-plugin
- Owner: whaler
- License: mit
- Created: 2015-11-27T10:29:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T20:35:47.000Z (about 4 years ago)
- Last Synced: 2024-12-10T02:28:05.462Z (about 2 months ago)
- Topics: plugin, rsync, whaler
- Language: JavaScript
- Size: 29.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Whaler rsync plugin
## Install
```sh
whaler plugins:install whaler-rsync-plugin
```## Usage
> **NB!** By default `[app]` is current dir name.
Sync files from current dir to remote machine
```sh
whaler rsync . [app]@
```Sync files from remote machine to current dir
```sh
whaler rsync [app]@ .
```Sync single file from current dir to remote machine
```sh
whaler rsync ./file.txt [app]@
```Sync single file from remote machine to current dir
```sh
whaler rsync [app]@:/file.txt ./
```Sync to remote machine service
```sh
whaler rsync . .[app]@:/var/www
```Sync from remote machine service
```sh
whaler rsync .[app]@:/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
```