I have a build
folder that I want to ignore and inside that build folder, I have a generated-src
that I don't want to ignore
root
| - build
| - lib
| - bin
` - generated-src
| - src
` - tst
I tried with this syntax:
ignorenot = Path */build/generated-src/*
ignorenot = Path */build/generated-src
ignore = Name */build/*
ignore = Name */build
But it does not work and according to the documentation, this is kind of expected
In particular, putting ignore = Path * in your profile and then using ignorenot to select particular paths to be synchronized will not work
But I still need to do something like this, I though to use Regex to specify the ignore
part, but I am not sure how to build it. Maybe can someone help me?