Files
oam/knowledge base/syncthing.md
2026-02-28 23:52:59 +01:00

1.9 KiB

Syncthing

Synchronizes files continuously between two or more computers.

  1. TL;DR
  2. Ignore files
  3. Troubleshooting
    1. I forgot the password
  4. Further readings
    1. Sources

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.

Further readings

Sources