how to include folder when negated

My .stignore looks like this:



// !/.config/tint2





I want to add the folder ‘!/.config/tint2’ but when I uncomment it in .stignore, it doesnt work. Can anybody show me the right syntax to add ‘!/.config/tint2’ ?

Unclear; the following works for me


with the contents getting synced:

% tree -a
├── .config
│   └── foo
│       └── file
└── .stfolder

That is, mentioning the directory should be enough to get it and its children unignored.

When I take your .stignore, I get this errors u can see in the picture. syncthing run in folder, that are not registered in .stignore …