<commit_before># drone-rsync

[![Build Status](http://cloud.drone.io/api/badges/drone-plugins/drone-rsync/status.svg)](http://cloud.drone.io/drone-plugins/drone-rsync)
[![Gitter chat](https://badges.gitter.im/drone/drone.png)](https://gitter.im/drone/drone)
[![Join the discussion at https://discourse.drone.io](https://img.shields.io/badge/discourse-forum-orange.svg)](https://discourse.drone.io)
[![Drone questions at https://stackoverflow.com](https://img.shields.io/badge/drone-stackoverflow-orange.svg)](https://stackoverflow.com/questions/tagged/drone.io)
[![](https://images.microbadger.com/badges/image/plugins/rsync.svg)](https://microbadger.com/images/plugins/rsync "Get your own image badge on microbadger.com")
[![Go Doc](https://godoc.org/github.com/drone-plugins/drone-rsync?status.svg)](http://godoc.org/github.com/drone-plugins/drone-rsync)
[![Go Report](https://goreportcard.com/badge/github.com/drone-plugins/drone-rsync)](https://goreportcard.com/report/github.com/drone-plugins/drone-rsync)
[![](https://images.microbadger.com/badges/image/plugins/rsync.svg)](https://microbadger.com/images/plugins/rsync "Get your own image badge on microbadger.com")

Drone plugin to deploy or update a project via Rsync. For the usage information and a listing of the available options please take a look at [the docs](DOCS.md).

## Binary

Build the binary using `make`:

```
make deps build
```

### Example

```sh
./drone-rsync <<EOF<commit_msg>Remove duplicated badge<commit_after># drone-rsync

[![Build Status](http://cloud.drone.io/api/badges/drone-plugins/drone-rsync/status.svg)](http://cloud.drone.io/drone-plugins/drone-rsync)
[![Gitter chat](https://badges.gitter.im/drone/drone.png)](https://gitter.im/drone/drone)
[![Join the discussion at https://discourse.drone.io](https://img.shields.io/badge/discourse-forum-orange.svg)](https://discourse.drone.io)
[![Drone questions at https://stackoverflow.com](https://img.shields.io/badge/drone-stackoverflow-orange.svg)](https://stackoverflow.com/questions/tagged/drone.io)
[![](https://images.microbadger.com/badges/image/plugins/rsync.svg)](https://microbadger.com/images/plugins/rsync "Get your own image badge on microbadger.com")
[![Go Doc](https://godoc.org/github.com/drone-plugins/drone-rsync?status.svg)](http://godoc.org/github.com/drone-plugins/drone-rsync)
[![Go Report](https://goreportcard.com/badge/github.com/drone-plugins/drone-rsync)](https://goreportcard.com/report/github.com/drone-plugins/drone-rsync)

Drone plugin to deploy or update a project via Rsync. For the usage information and a listing of the available options please take a look at [the docs](DOCS.md).

## Binary

Build the binary using `make`:

```
make deps build
```

### Example

```sh
./drone-rsync <<EOF
{'fraction_non_alphanumeric': 0.1838955386289445, 'fraction_numerical': 0.0, 'mean_word_length': 5.225733634311513, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 28, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3885676', 'n_tokens_mistral': 1019, 'n_tokens_neox': 958, 'n_words': 145}