For example, consider this directory tree:
FolderA / IfThisIsHere / [files]
/ ExcludeThis / [files]
/ AlsoExcludeThis / [files]
FolderA / IfThisIsHere / [files]
/ ExcludeThis / [files]
FolderC / ExcludeThis / [files]
/ AlsoExcludeThis [files]
FolderD / AlsoExcludeThis [files]
The folder ExcludeThis and AlsoExcludeThis should only be excluded if folder IfThisIsHere is exists along side it in the same directory.
The folder (and its content) ExcludeThis and AlsoExcludeThis inside FolderA and FolderB will be excluded. But NOT the one in FolderC and FolderD because there's no IfThisIsHere folder inside C and D.
Is that possible? I just want to setup this way because things inside ExcludeThis and AlsoExcludeThis is often huge in size from thousands of tiny files combined. And it's all just some kind of a cache, it can be regenerate later. I just don't want it to take ages to copy these unnecessary data.
Thanks!