Sync Folders Between Devices with Syncthing
Run Syncthing to keep folders identical across your Linux machines and phone over the LAN or internet, privately and without a cloud account.
01Command
$ syncthing serve --gui-address=127.0.0.1:838402What it does
Syncthing is a peer-to-peer sync daemon: two devices that have exchanged their device IDs discover each other (directly on LAN, or via relays) and continuously replicate the folders you mark as shared. The web GUI at port 8384 is where you add folders, accept partners, and set versioning. Most distros install it as a systemd user unit — systemctl --user enable --now syncthing.service keeps it running at login; data is TLS-encrypted in transit and never stored on a central server.
03Risk
04Undo
$ systemctl --user stop syncthing.service && systemctl --user disable syncthing.service05Sources
- syncthing — Command line documentationEvidence: Documents syncthing serve, the --gui-address option, and running syncthing as a service.
- Syncthing FAQ — security and how it worksEvidence: Explains that all data is encrypted in TLS transit and shared only with explicitly paired device IDs — no central cloud.
Last verified: 2026-09-18 · Category: Security & Privacy
06Related solutions
Find every occurrence of a pattern across all files in a tree, printed as file:line:number matches.
Unpack a gzipped tarball into the current directory while printing each file as it is extracted.
rsync copies over SSH, skips unchanged files, resumes interrupted transfers, and preserves permissions and timestamps.