Nextcloudcmd select folders to sync

I am using nextcloudcmd in a Ubuntu Docker container. I only want particular folders to be synced. How can this be done? I understand that files can be excluded via the definition of patterns in the sync-exclude.lst file. However, I cannot find a docu on that topic. Can you help?