mirror of
https://gitea.com/mcereda/oam.git
synced 2026-03-03 15:34:25 +00:00
1.9 KiB
1.9 KiB
Syncthing
Synchronizes files continuously between two or more computers.
TL;DR
Setup
Configuration files:
| OS | Path |
|---|---|
| Linux | $XDG_STATE_HOME/syncthing$HOME/.local/state/syncthing |
| Mac OS X | $HOME/Library/Application Support/Syncthing |
| Windows | %LOCALAPPDATA%\Syncthing |
# Installation.
sudo apt install 'syncthing'
brew install --cask 'syncthing'
sudo zypper install 'syncthing'
Usage
# Startup.
syncthing
syncthing --gui-address '0.0.0.0:8384' --no-default-folder
systemctl --user start 'syncthing.service'
Ignore files
Refer to Documentation / Ignoring Files.
Troubleshooting
I forgot the password
Remove the entry under gui.password in the configuration file:
# With XMLStarlet
xml ed -L -d 'configuration/gui/password' 'Library/Application Support/Syncthing/config.xml'
Then enter the settings on the host and set a new password.