Synchronizing selected folders only

Hi,

I have a such situation: I have two computers where I want to sync specific folders using my local server:

C:\Adam\Documents
C:\Adam\Photos

There are more folders inside C:\Adam (like C:\Adam\AppData) which I don’t want to synchronize - each computer has its own data there.

I tried two options:

  1. I pointed at C:\Adam\Documents at one computer and C:\Adam\Documents at second one.

NextCloud created folder C:\Adam\Documents\Documents and started to sync there.

  1. I pointed at C:\Adam\Documents at one computer and C:\Adam at second one.

NextCloud started to sync all the other second computer’s C:\Adam subfolders with server which I didn’t want.

How can I sync only selected folders between computers and server?