Sync folder(s) with Syncthing

What is Syncthing (freesync)

Syncthing is a free open-source-software that syncs folder(s) and files. I would refer to it as a freesync or foldersync tool, because it is free. However, it’s not a backup software or imaging tool to create an exact copy of your computer.

Syncthing runs on various platforms like Linux, Windows, NAS and MAC and very easy to install. There are utilities for Windows and MAC available which run in the Windows system tray or the MAC menu bar. Configuration is done in the browser WebGUI (see first screenshot).

How to install Syncthing

I will explain the installation for the Windows platform using screenshot from Windows 10, but on any platform the interface looks the same.
Download the 64bit from here. It’s just a zip file. Then extract it to a folder. I use C:\Syncthing, but of course you could name the folder with a name you prefer.  Double-click the syncthing.exe and the command windows will open shortly in your default browser with url address 127.0.0.1:8384. Syncthing runs with port 8384.

I first go to the “Actions” menu, choose Settings, verify under GENERAL tab, the “Device Name”. This would be your computer name.
Specify username and password for the WebGUI. Go to GUI tab, “GUI Authentication User” and “GUI Authentication Password”. I usually only change these two settings.

Sycnthing freesync tool foldersync
Syncthing – main screen

For Windows 10 there is also a tool called “SyncTrayzor” available. It’s a Windows installer which can be set to run automatically when Windows starts. The interface looks exactly like the WebGUI above wrapped in a Windows window.  SyncTrayzor is recommended only for Windows desktops not for Windows Server because when logged out it won’t run in the background (more on that later). For MAC, another app as a dmg installer is available. They are very cool and more important do their job well.

How to connect to remote device

It’s very easy; just click “add Remote Device”. in the section “Remote Devices”.

Sycnthing freesync tool foldersync
Add a new device

After a few moments you will get a prompt on the remote computer.

If the remote computer is located on the same network and Syncthing is running you will see the device ID inline in the text (not shown in the above screenshot). Otherwise enter the device ID in the field. How to find the device ID? Go to the “Actions” menu in the WebGUI and click “Show ID”.

Sycnthing freesync tool foldersync
New deivce

Click “Add Device” and the computer will be shown in the Remote Devices section. Now both computers are connected and we are ready to setup folder(s) to sync.

How to add a foldersync

A Default Folder is predefined in Folders section (see first screenshot) . I usually delete it and create a new folder.

Click “+add Folder” (see my first screenshot)

Tab, General

The “Folder Path” field is very important. It must match with the path name in your file system. In this screenshot it is for the Windows file system. In Linux it would be a path like “/home/filesync”. For the fields “Folder Label” and “Folder ID” you can choose a name. I use the same description for both fields.

Add Folder – General tab

 

Tab, Sharing

Here you see all connected devices that have been added to the Remote Devices section. For example: you could sync the folder with more than one device.

This is actually what makes Syncthing so cool. A possible scenario could be a Windows Server in the cloud, an iMac at home and a laptop for traveling. Folders(s) can be synced with all devices. A document created on the laptop while not connected with the internet, will be synced automatically the next time the laptop connects to the internet.

Tab, File Versioning

Select the mode of File Versioning. Generally I use File Versioning. Set a number for  “Keep Versions”. It’s possible to use Versioning on one device only. In our scenario we would use it only for the Windows Server in the cloud.

Tab, Ignore Patterns

Syncthing ignore patterns

Enter patterns to exclude sub-folder(s) or file(s). You can also exclude file extensions. Please see the docs with examples It’s a very powerful feature.

Last Tab, Advanced

Sycnthing freesync fodersync
Tab Advanced

A few powerful settings that could make here. In Folder Type, specify sync directions, whether both ways, or only send or only receive

Click “save” and it’s done, It’s possible to add even more folders when you wish.

 

Conclusion

Please keep in mind Syncthing must run in the memory all the time. Otherwise it will not syn!
Synctrayzor (mentioned above) can be configured to run automatically when Windows starts up. The same applies for the MAC version.
Syncthing does a great job? Certainly a very good foldersync tool.

In another blog I will tell you how to run Syncthing as a service on a Windows Server. The tool I usually use is nssm.

About me

Leave a Reply

1 × one =

Close Menu

Contact form:

Privacy Policy

Privacy Policy

Effective date: July 26, 2019

Edy Werder ("us", "we", or "our") operates the https://edywerder.ch website (hereinafter referred to as the "Service").

This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. The Privacy Policy for Edy Werder has been created with the help of TermsFeed.

We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, the terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, accessible from https://edywerder.ch

Definitions

  • Service

    Service is the https://edywerder.ch website operated by Edy Werder

  • Personal Data

    Personal Data means data about a living individual who can be identified from those data (or from those and other information either in our possession or likely to come into our possession).

  • Usage Data

    Usage Data is data collected automatically either generated by the use of the Service or from the Service infrastructure itself (for example, the duration of a page visit).

  • Cookies

    Cookies are small files stored on your device (computer or mobile device).

Information Collection and Use

We collect several different types of information for various purposes to provide and improve our Service to you.

Types of Data Collected

Personal Data

While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you ("Personal Data"). Personally identifiable information may include, but is not limited to:

  • Email address
  • First name and last name
  • Cookies and Usage Data

Usage Data

We may also collect information how the Service is accessed and used ("Usage Data"). This Usage Data may include information such as your computer's Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that you visit, the time and date of your visit, the time spent on those pages, unique device identifiers and other diagnostic data.

Tracking & Cookies Data

We use cookies and similar tracking technologies to track the activity on our Service and we hold certain information.

Cookies are files with a small amount of data which may include an anonymous unique identifier. Cookies are sent to your browser from a website and stored on your device. Other tracking technologies are also used such as beacons, tags and scripts to collect and track information and to improve and analyse our Service.

You can instruct your browser to refuse all cookies or to indicate when a cookie is being sent. However, if you do not accept cookies, you may not be able to use some portions of our Service.

Examples of Cookies we use:

  • Session Cookies. We use Session Cookies to operate our Service.
  • Preference Cookies. We use Preference Cookies to remember your preferences and various settings.
  • Security Cookies. We use Security Cookies for security purposes.

Use of Data

Edy Werder uses the collected data for various purposes:

  • To provide and maintain the Service
  • To notify you about changes to our Service
  • To allow you to participate in interactive features of our Service when you choose to do so
  • To provide customer care and support
  • To provide analysis or valuable information so that we can improve the Service
  • To monitor the usage of the Service
  • To detect, prevent and address technical issues

Transfer Of Data

Your information, including Personal Data, may be transferred to - and maintained on - computers located outside of your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from your jurisdiction.

If you are located outside Switzerland and choose to provide information to us, please note that we transfer the data, including Personal Data, to Switzerland and process it there.

Your consent to this Privacy Policy followed by your submission of such information represents your agreement to that transfer.

Edy Werder will take all steps reasonably necessary to ensure that your data is treated securely and in accordance with this Privacy Policy and no transfer of your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of your data and other personal information.

Disclosure Of Data

Legal Requirements

Edy Werder may disclose your Personal Data in the good faith belief that such action is necessary to:

  • To comply with a legal obligation
  • To protect and defend the rights or property of Edy Werder
  • To prevent or investigate possible wrongdoing in connection with the Service
  • To protect the personal safety of users of the Service or the public
  • To protect against legal liability

As an European citizen, under GDPR, you have certain individual rights. You can learn more about these guides in the GDPR Guide.

Security of Data

The security of your data is important to us but remember that no method of transmission over the Internet or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Personal Data, we cannot guarantee its absolute security.

Service Providers

We may employ third party companies and individuals to facilitate our Service ("Service Providers"), to provide the Service on our behalf, to perform Service-related services or to assist us in analyzing how our Service is used.

These third parties have access to your Personal Data only to perform these tasks on our behalf and are obligated not to disclose or use it for any other purpose.

Links to Other Sites

Our Service may contain links to other sites that are not operated by us. If you click a third party link, you will be directed to that third party's site. We strongly advise you to review the Privacy Policy of every site you visit.

We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.

Children's Privacy

Our Service does not address anyone under the age of 18 ("Children").

We do not knowingly collect personally identifiable information from anyone under the age of 18. If you are a parent or guardian and you are aware that your Child has provided us with Personal Data, please contact us. If we become aware that we have collected Personal Data from children without verification of parental consent, we take steps to remove that information from our servers.

Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.

We will let you know via email and/or a prominent notice on our Service, prior to the change becoming effective and update the "effective date" at the top of this Privacy Policy.

You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.

Contact Us

If you have any questions about this Privacy Policy, please contact us:

  • By email: info@edywerder.ch