celeste
celeste copied to clipboard
Expected exclusion syntax is unclear?
I have a folder, Pictures, I would like to sync with remote. In Pictures, there are is a subfolder, Screenshots, that I do not want to sync.
I have tried
Screenshots
Screenshots/*
/Screenshots/*
./Screenshots/*
./Screenshots
./Screenshots/
Screenshots/
One of those might be the accepted syntax, and I may be misremembering having tried it, but I'm sure you can understand my frustration. This would be avoided if I could simply select a folder to exclude, or, alternatively, if it displayed what is covered by the sync and what wasn't (Like .gitignore might show in the folders view of IDEs?)
Update: It appears that the syntax "Screenshots" prevents it from downloading changes, but does not prevent it from uploading them. -- this is a separate, unrelated issue (?), but the original issue is still relevant IMO
Otherwise; this is a fantastic program; keep it up :)
Hey, thanks for reporting the issue!
The exclusion syntax definitely needs documented. The way I'm wanting it to work is you enter a path like Screenshots as an exclusion, and then Screenshots from the root of the sync directory wouldn't be synced. Globs are also supported, so things like Screenshots/*.jpg would also work to exclude any .jpg files.
The behavior is supposed to mimic that from the Nextcloud desktop client (Celeste actually stored exclusions in the same file they use), but from what you reported it sounds like there's some kind of bug in how Celeste is doing that - I'm going to get that a look soon and see what I can find (I'll send another message about it once I find out anything, or get a fix in).
I think currently you have to do something like Screenshots and Screenshots/* to make it exclude both ways (that's the setup I currently have for some directories), but that might be related to the bug you're talking about.