How to: don't sync from specific subfolder based on a pattern

Isn’t this the same issue as reported in syncing: no connected device has the required version of this file? I’d suggest to keep all information and discussion in the same topic for better context.