How to prevent a folder to sync to iCloud
there are 2 name extensions that will stop iCloud syncing.

.nosync

.tmp


if you add .nosync to a folder name you will need to add it also to the folder contents.
if you add .tmp to a folder name it'll stop syncing the folder &amp; its contents.