Syncthing is failing to sync between windows & Linux

I am trying to setup syncthing to my unused windows laptop. But after setup, some of my files are getting out of sync error:

the folder structure is:

  • 1.Python has 1. Procedural & 2. Object-Oriented
    1. Procedural has two folders called Day 29 - 55 & Day 1 - 28
  • Both of them have files like 31 - Python Sets.md

i guess it’s problem with stupid windows as my linux & Android devices are not having any problem.

  • Now how to solve this problem?

Going after the error message: remove the trailing space from [1. Procedural ]?

2 Likes

Oh, it’s saying about space at the end😅 I didn’t even notice it was there!

And why is windows so picky😮‍💨 it didn’t create any problem in my main linux pc & Android…

It’s very easy to overlook :slight_smile:

And for the latter, it seems to just be unsupported in the Windows shell and UI:

Naming Files, Paths, and Namespaces - Win32 apps | Microsoft Learn

  • Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not. However, it is acceptable to specify a period as the first character of a name. For example, “.temp”.

I suppose Syncthing just follows these naming conventions for Windows machines for certainty’s sake.

Android has many limitations as well due to using VFAT on its internal storage, so be careful, because if you use any of characters like " * / : < > ? \ | in your filenames on Linux, they won’t sync to Android too :wink:.

:neutral_face: that’s scary…