I think we can all/most agree that creating ignore patterns can get complicated. It scared me away.
Perhaps a GUI aid of some sort to make The process of creating complex ignore patterns easier. I think everybody would love to be able to create ignore patterns using a GUI rather than knowing how to type it in via trial and error. I haven’t been using syncthing for more than six to eight months or so and in that time I have seen some people make relatively simple requests that turn into complex ignore patterns that I would never imagine ever being able to create on my own.
Anything at all that makes ignore patterns easier to implement and manage would be a fantastic addition to the product.
That feature would cure many people’s problems with not having a selective sync function.
And just one more thing. AI can help in this case. I just asked ChatGPT To explain to me about syncthing ignore patterns. This is what it came up with and it’s pretty good Even though the examples are very very basic:
"In Syncthing, ignore patterns allow you to specify certain files or folders that should be excluded from synchronization between devices. This can be useful in situations where you have files or directories that you do not want to share or sync across devices, or that are unnecessary to include in the synchronization process.
Ignore patterns are specified using regular expressions, which are a way of defining search patterns that can match specific text strings. Syncthing allows you to create a list of ignore patterns that are applied to all synchronized folders.
Here are some examples of ignore patterns:
To ignore all files with the extension “.log”, you can use the pattern “.log".
To ignore all files in a folder called “temp”, you can use the pattern "/temp/”.
To ignore all files and folders that start with a dot, you can use the pattern “.".
You can also use more complex patterns that combine multiple criteria. For example, to ignore all files with the extension “.log” and all files in a folder called “temp”, you can use the pattern "temp/, *.log”.
It’s important to note that ignore patterns are only applied to files and folders that have not been explicitly shared between devices. If a file or folder has been explicitly shared, it will be synchronized regardless of any ignore patterns.
Overall, ignore patterns can be a useful tool for customizing the synchronization process in Syncthing and ensuring that only the files and folders that you want to share are synchronized between devices."
That was ChatGPT’s explanation of ignore patterns in Syncthing.