chrisisbd
(Chris Green)
November 3, 2024, 3:17pm
1
I have a syncthing shared directory .bak, it’s shared between homepi and q957. At the homepi end I have an .stignore file as follows:-
! homepi
*
Shouldn’t this mean that .bak/homepi is synchronised between the two systems? It doesn’t appear to be happening, nothing is synchronised at all.
If I remove the * from .stignore then files get synchronised, it’s as if the * is overriding the homepi entry.
chrisisbd
(Chris Green)
November 3, 2024, 3:23pm
2
N.B. there is a directory .bak/homepi on homepi with some data in it, both files and subdirectories.
Try removing the space after the exclamation mark.
https://docs.syncthing.net/users/ignoring.html
chrisisbd
(Chris Green)
November 3, 2024, 5:00pm
4
Ah, thank you! That’s fixed it.
I read “Spaces are treated as regular characters, except for leading and trailing spaces, which are automatically trimmed.” as meaning that spaces around the patterns are ignored, but obviously not.
Thanks again.
1 Like