Is it possible with ST to share a whole folder and sub-folders of that folder in two different shares? If so, how?
I have a huge folder (C:\huge_folder) which is shared completely (no .ignore file) to some clients (CLIENTS-A) als SHARE-A.
Now I want to share some few folders from that huge folder within a new share, say NEW-SHARE-B to other clients (CLIENTS-B).
I tried with the .ignore file, but unfortunately the ignore-file from SHARE-A (which is in C:\huge_folder) is overwritten with the content from the ignore-file from NEW-SHARE-B (which is in C:\huge_folder\ too), and this is not desired.
Any Idea, how this could be accomplished?
CLIENTS-A should receive:
CLIENTS-B should receive:
Hope, I was clear enough.
Thank you, for your ideas.
CLIENTS-A are trustworthy
CLIENTS-B are not (which means, I don’t want them to see any other folder/file besides in NEW-SHARE-B)
My solution for something like this are bind mounts, but that doesn’t exist in Windows.
Using symlinks also doesn’t work, as Syncthing currently does not follow them, see:
The only working (but ugly) solution I can think of for Windows would be to share each sub folder as its own Syncthing folder to CLIENTS-B or split the huge folder into 2 and share both with CLIENTS-A and only one with CLIENTS-B.
In the future, the ignores will probably be stored in the config not inside a file, so your initial idea would work.