I didn't see any other post listing useful
.stignore patterns, so I thought I'd create one. Obviously everyone's needs are different, but I'm sure there are a few patterns that would be widely useful, so here's a place to put them instead of everyone discovering them on their own.
Also, on a related note: to sync patterns across all nodes, put the following in each node's
Then create the
.stglobalignore file and put the patterns there. An added benefit of doing this, as mentioned by @calmh in the comments, is that having the ignore patterns for a repository be the same on every device is less confusing, given the way things are implemented at the moment. You can read more about that at the main .stignore post; scroll down to Effects on "In Sync" Status at the bottom.
Here are the patterns; of course you can pick and choose as you see fit:
// Incomplete Downloads
// At least for now, these prevent Syncthing from transferring data that's
// going to be thrown out anyway once the download is finished and the
// file is renamed. Things may change when Syncthing gets smarter.
// Firefox downloads and other things
// Chrom(ium|e) downloads
// Temporary / Backup Files
// OS-generated files (OS X)
// OS-generated files (Windows)
// BTSync files
// Synology files
I'll update this post based on the comments.