See the saga of this at Custom exclusion lists for sync (detailed blacklist/whitelist control, simple file-extension exclusion, etc.)