Excluding subfolders at a single shared folder

I understand that, by default, subfolders of a shared folder are also shared. Is there a way to exclude subfolders for a specific shared folder only - not all of them?

Ignore patterns?

Thanks but can’t find what I need in there. And can’t really understand the meaning of this sentence - if it’s relevant to my question: “Please note that directory patterns ending with a slash some/directory/ matches the content of the directory, but not the directory itself.” Please note that I need to exclude entire subfolders, not specific files.

You can ignore subdirectories the way you would ignore files, for example to ignore subdirectory example_subdir at the first level (root) of your shared folder, you would add this to your ignore patterns (Shared folder → Edit → Ignore Patterns):

/example_subdir
2 Likes

OK thanks, just found out I rather can use .stignore in root folder of shared main folder.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.