Hi! Ive been reading the docs and searching for threads but i cant find my issue. So a new topic it is. Im using --filter-from to filter out directories. But some directories still gets downloaded even if i have - the.folder.name/**
Lets say i want to download all dir that starts with O but filter some of the O ones.
Ive tried with the - rules first and with the + rules first. But in my head i should start with + on top and - on the way down.
Am i doing something wrong or is this a bug?
Each path/file name passed through rclone is matched against the combined filter list. At first match to a rule the path/file name is included or excluded and no further filter rules are processed for that path/file.
so if your filter.txt is:
+ /O*/**
- /O1/**
- /O4/**
- *
every directory starting with O matches first filter + /O*/** and is included. And this is not what you want.
Again as per docs:
Arrange the order of filter rules with the most restrictive first and work down.