masy/README.md

24 lines
773 B
Markdown
Raw Normal View History

2021-06-14 21:31:43 +02:00
# masync
2021-06-14 21:46:38 +02:00
Masync allows you to mirror and keep synchronised an arbitraries number of folders on one or more remote servers with local folders.
2021-06-14 22:24:32 +02:00
## dependencies
2021-06-14 21:46:38 +02:00
Masync use inotifywait for listening changes on local folders and keep it in sync with remote folders.
2021-06-14 22:24:32 +02:00
Before using it, please install **inotify-tools** package on your favorite distribution
2021-06-14 21:54:16 +02:00
2021-06-14 21:58:29 +02:00
```
2021-06-14 21:54:16 +02:00
apt-get install inotify-tools
dnf install inotify-tools
xbps-install -S inotify-tools
2021-06-14 21:58:29 +02:00
...
```
2021-06-14 21:46:38 +02:00
2021-06-14 22:24:32 +02:00
You must have access to the servers containing the remote folders via ssh and a private key, so
* install the ssh daemon on your server
* generate a key pair with ssh-keygen
* add the public key to the authorised keys on server side
* edit the ssh config so that you can access with ssh to the server