Synchronize Folder with Syncthing

Introduction

Syncthing is a famous open-source app which can help us synchronize shared folders through different platforms including windows, MacOS and Linux. For more details, you can access official website

Install

Windows

It is very simple to install on windows, just download it from github

After installed, there will be a desktop shortcut Syncthing Configuration Page

Click that shortcut, your browser will open a config page.

Linux

For more details, you can access official guidance

1. Provide release key

# Add the release PGP keys:
sudo mkdir -p /etc/apt/keyrings
sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

2. Add the “stable” channel to your APT sources

echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list

3. Add the “candidate” channel to your APT sources

echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing candidate" | sudo tee /etc/apt/sources.list.d/syncthing.list

4. Install through apt

sudo apt-get update
sudo apt-get install syncthing

Usage

Windows

Double click Syncthing Configuration Page

Config as you like in browser

Linux

Run it on background: Run the command in the background

Run

It is very easy to start, just check syncthing with which syncthing

(base) root@cc2:~# which syncthing 
/usr/bin/syncthing
(base) root@cc2:~# 

Register it to systemctl or use other method to run it at background.

Access config dashboard

I recommend Connect your Remote Service from SSH forwarding

And then, config as you like.

Reference

https://docs.syncthing.net

Leave a Reply

Your email address will not be published. Required fields are marked *