Syncthing to sync all things

Syncthing to Sync all things

Got multiple devices and frustrated to sync files across all of them? Need no worry syncthing is here!

Syncthing uses magic to uptodate your files and content across all your devices. All you need to do is set it up.

Installation

Just download from official website: syncthing.net or install from your distro package manager. e.g pacman -S syncthing for archlinux

Setting it up

Use syncthing --help to check all commands start syncthing server

Syncthing serve

by default it will serve webapp on port localhost:8384

Explore gui
  • Add a folder make sure to give same folder id across all devices
  • add devices using devices id or QR Scanner
  • Sync all
Thats all!

Setup Systemd service

set up systemd service file to make it run in bg all the time. in ~/.config/systemd/user/ add syncthing.service file

[Unit]
Description=Syncthing

[Service]
ExecStart=/usr/bin/syncthing serve

[Install]
WantedBy=default.target

start the service systemctl --user enable synthing.service and systemctl --user start synthing.service

<< back