Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```