How to change the path location of the .stignore file

For example, the default is /Users/taoshumin_vendor/Sync/.stignore now, I want to change the path to /Users/taoshumin_vendor/tmp/Sync/.stignore, can you tell me how to change the location of the file path?

Unfortunately, you can’t do it (see https://github.com/syncthing/syncthing/issues/7836). You can use #include to load patterns from a different file (see https://docs.syncthing.net/users/ignoring.html), but .stignore itself needs to be present in the folder root.

1 Like