You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sync-exclude.lst not working with full folder patterns #4628
Just to add another case where this feature would be useful: I have a folder named "cargo" inside of a "target" one, the two folder names are too common to safely exclude them.
Actually, in this case the whole "target" folder should be excluded, I would have to exclude "target/cargo" and all the other big folders inside. But that would be a huge improvement anyway.
Another potential solution to handle this case would be to put an .owncloud-exclude or .sync-exclude file in the folder to exclude. Would that be simpler?
Activity
guruz commentedon Sep 15, 2016
What if you just put
Album Artwork?dragotin commentedon Sep 15, 2016
rather
Album Artwork/to make it only match directories.kaeser-sosae commentedon Sep 15, 2016
Because I only want the Album Artwork folder inside the iTunes folder to be excluded.
I might have a folder called ~/Desktop/Album Artwork that I want synced. If I do as you suggest, any folder called Album Artwork could be excluded.
Remember that this folder is one example of the Sync not working.
guruz commentedon Sep 15, 2016
@kaeser-sosae Yes, we know that. We want to find out if you have a general exclude problem or only this specific pattern with '/'
dragotin commentedon Sep 15, 2016
Can it be a problem with the space in "Album Artwork"? Does a directory without space in between work as expected?
dragotin commentedon Sep 19, 2016
@kaeser-sosae you need to add the pattern in
sync-exclude.lstit with a leading slash:will do it. Tested here: If you skip the leading slash, it fails, with it works.
Keeping the issue open because it might make sense to fix that to also work without slash.
[-]sync-exclude.lst not working correctly[/-][+]sync-exclude.lst not working with full folder patterns[/+]tuxayo commentedon Nov 11, 2016
Just to add another case where this feature would be useful: I have a folder named "cargo" inside of a "target" one, the two folder names are too common to safely exclude them.
Actually, in this case the whole "target" folder should be excluded, I would have to exclude "target/cargo" and all the other big folders inside. But that would be a huge improvement anyway.
Another potential solution to handle this case would be to put an
.owncloud-excludeor.sync-excludefile in the folder to exclude. Would that be simpler?