Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/spacebro/rsyncbro
- Owner: spacebro
- Created: 2019-10-31T14:15:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T09:24:34.000Z (about 2 years ago)
- Last Synced: 2024-11-21T04:11:39.998Z (2 months 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 settingsInput 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!