nextcloud / nextcloud/desktop

When a subfolder uses `.sync-exclude.lst` file the global one is ignored

Open
#10,108 0 comments 0 reactions 0 assignees Claimed by @nilsding View on GitHub
2. developing feature: :arrows_counterclockwise: sync engine Prio: normal
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 17h
Merged PRs (30d)
123

Description

### How to use GitHub

* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.

---

## Feature request

**Which Nextcloud Version are you currently using:** 33.0.5 (see administration page)

**Is your feature request related to a problem? Please describe.**
When I create a .sync-exclude.lst in a subfolder - to ignore a credentials file for example the global one is ignored and I have to paste the whole file again (in that subfolder)

**Describe the solution you'd like**
Add an option in the UI (or settings) to join both files (so the global + from the subfolder) and to add ! if you want to override the global one.

**Describe alternatives you've considered**
My alternative is to paste the global file in the directories but this is a lot of work (I have 50+ dirs :<)

**Additional context**
For example, in my global file I have:
```
*venv*
.git
.env
__pycache__
```

and when I create one in subfolder to ignore .credentials file all of my venvs are synced!

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.