https://github.com/spacebro/rsyncbro
A spacebro client to rsync media to a remote device
https://github.com/spacebro/rsyncbro
Last synced: over 1 year ago
JSON representation
A spacebro client to rsync media to a remote device
- Host: GitHub
- URL: https://github.com/spacebro/rsyncbro
- Owner: spacebro
- Created: 2019-10-31T14:15:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T09:24:34.000Z (over 3 years ago)
- Last Synced: 2025-01-21T21:46:28.036Z (over 1 year ago)
- Language: JavaScript
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
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!