Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/spacebro/rsyncbro

A spacebro client to rsync media to a remote device
https://github.com/spacebro/rsyncbro

Last synced: 13 days ago
JSON representation

A spacebro client to rsync media to a remote device

Awesome Lists containing this project

README

        

# rsyncbro

A simple app to rsync media to a remote folder

## ❓Why ?

It is a simple app written for the [spacebro
galaxy](https://github.com/spacebro/)

Sometimes you want all the media from a collection to be sent to a
remove computer.
rsyncbro sends all files to the same folder in the remote computer.
All you have to do is set the name of the remote computer in settings

Input media:

```
{
path: '/home/user/photos/myphoto.jpg',
}
```

The app will attempt to copy the file to the server mentioned in
settings.destination at the same path. That would be the following rsync
command:

```

rsync -Paur /home/user/photos/myphoto.jpg destination:/home/user/photos/myphoto.jpg

```

## 🌍 Installation

```
git clone https://github.com/spacebro/rsyncbro
nvm use
yarn
```

## ⚙ Configuration

```
cp settings/settings.default.json settings/settings.json
```

And edit settings.json
You can also change settings with argv parameters.
Learn more about this on [standard-settings](https://github.com/soixantecircuits/standard-settings)

## 👋 Usage

```
nvm use
node index.js
```

## Special server settings

Custom port? Custom ssh key? Put that in your `~/.ssh/config`
[file](https://www.digitalocean.com/community/tutorials/how-to-configure-custom-connection-options-for-your-ssh-client).

## 🕳 Troubleshooting

Ask emmanuel on soixantecircuits.slack.com

## ❤️ Contribute

Please do!