How to deal with failed, illegal filenames?

I synchronize files between Linuw and Windows and some of the filenames are illegal in some OS and fine in the other.

Are there some baked-in strategies to deal with that?

  • automatic renaming?
  • automatically discard the files?

I can manually try to .ignore them, or manually rename but I am looking for automated actions.

Automatic renaming is outside of Syncthing territory, but you could of course ignore them with generic patterns, e.g. *\?* (to ignore files with ? in them) and so on. You should check https://learn.microsoft.com/windows/win32/fileio/naming-a-file for specific information on what is and isn’t allowed in Windows.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.