Syncthing setup part 2

5 (100%) 1 vote




This article is the part two of the article Syncthing setup part 1

Sharing folders
Now we can share folders, I will do that on the phone first, as follow

File versioning in Syncthing

Syncthing offers four types of file versioning as you can see in the picture, file versioning could come very handy, as it archives old versions of a file when it is replaced or deleted in the folder.
Trash Can File Versioning: When a file is removed or replaced after it has been done on the remote device, it is a moved to the trash can in the .stversions folder. And it stays there for a specific number of days as you choose to set it.
Simple File Versioning: files with this feature are moved to the .stversions folder, that is inside our shared folder, and it allows to keep a specific number of versions of the file a number that you can choose while configuring this option.
Staggered File Versioning: files are also moved to a different folder when replaced or deleted on a remote device. And old versions are deleted if they surpass the maximum age that you set, it can be an hour as it can be 30 days, you can even choose to keep the versions for ever.
External File Versioning: this option allows to have an external program or script decide what to do when the file is about to be replaced.

You should receive a message on the target device where you accept to allow the sync.

It starts syncing after accepting it as follow

All synced now, you can see the state of each folder and which stage is the syncing at. And to the right there is an overall view that gives information about all that data synced in the device.

Note that both devices need to be online for the data to be exchanged.
You can also add Syncthing to your startup folder so it launches automatically when your computer starts.
First press Windows + R
And put Syncthing in the folder as follow


Now with Syncthing you can share large amounts of data between as much devices as you want between various locations without having to depend on a third-party provider that may have its server compromised and your data with it.