Files out of sync - ignore patterns not working?

On my Linux machine, some .~lock and .lock files are generated when files are being edited. To prevent those files from getting synced to my Windows machine, I added an ignore pattern in Syncthing on my Windows machine. This has worked perfectly for months, but since a week or so, on my Windows machine Syncthing reports that 4 files are out of sync.

Am I doing something wrong, or is this a bug?

This is the intended behaviour. Your linux machine has that files and adds them to the global index but your windows machine ignores them. That’s why it is now out of sync with the ignored files pending.

The better way would be to add this patterns to the ignore file on the linux machine, as the linux machine should not add that files to the cluster / global index.

2 Likes

Ah, I get it. Thanks!

1 Like