Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time. Syncthing is available on Linux, MacOS, Android, Windows and other operating systems, making it a good choice for cross platform file sharing.
USE flags for net-p2p/syncthing Open Source Continuous File Synchronization
emerge --ask net-p2p/syncthing
To view all available configuration options:
man 5 syncthing-config
- Configuration files and security certificates, if run as a user.
- Config file for /etc/init.d/syncthing
OpenRC can start Syncthing at startup:
rc-update add syncthing default
Usage: syncthing <command> Flags: -h, --help Show context-sensitive help. Commands: serve Run Syncthing decrypt <path> Decrypt or verify an encrypted folder cli Command line interface for Syncthing Run "syncthing <command> --help" for more information on a command.
Syncthing can be started as a common user:
It will create the following directories at first use:
- Configuration files and security certificates.
- The default folder to synchronize.
Syncthing will also fire up a browser page at http://127.0.0.1:8384 for monitoring and configuration.
Changing the user of init service
User and group with which Syncthing creates and modifies the synced files, can be changed by uncommenting the following lines in /etc/conf.d/syncthing:
Sycning files with Android
If files are shared with Android, make sure to enable "Ignore Permissions" in the advanced tab. This option disables comparing and syncing file permissions and is useful on systems with nonexistent or custom permissions (e.g. FAT, exFAT, Synology, Android).
Syncthing provides a number of man pages:
- Rsync — a powerful file sync program capable of efficient file transfers and directory synchronization.