Iâm not sure if I am doing this rightâŠ
After installing the sync client, I want to âAdd Folder Sync Connectionâ to sync an arbitrary folder NOT in the default [user]\Nextcloud directory.
But, when I do this, the folder and files from the arbitrary location are duplicated into the [user]\Nextcloud directory on the local machine.
Is there a better way to do this so the files donât get duplicated on the local machine that way?
So far, I found that I need to remove the default [user]\Nextcloud sync connection. Then, add a folder at the Nextcloud server user root location for each arbitrary folder Sync Connection.
So, this means I never sync the Nextcloud server root, but only the subfolders I create under that.
Iâm running Windows.
Here is a screenshot of my setup.
I left the default NextCloud folder (C:\Users[account]\Nextcloud) empty.
Then I added a new Folder Sync Connection to an arbitrary folder, âC:\Testingâ in the NextCloud client app.
Then, I added a file to âC:\Testingâ which was synced up to the NextCloud server.
Then, the file was synced DOWN from the NextCloud server to the âC:\Users[account]\Nextcloudâ folder.
Thus, there are now two duplicate copies of the file on my PC. One, in âC:\Testingâ & the other in âC:\Users[account]\Nextcloudâ.
I understand how and why this is happening. The logic actually makes sense. But, I canât help but think that there should be some sort of safeguard against this sort of behavior.
Well, everything is working as expected for the configuration you showed us. The remote ânextcloudâ folder is set up to be synced to two different directories and thats all the client does.
If you do not want anything to be synced to [user]\Nextcloud you need to remove the first sync connection.
I have encountered the same. The answer above is like: âThis is expected behaviourâ. I was expecting that the two sync connections would be independant from each other. How can I do so?
I do not want the files from one connection to be synced to a other one.
Also I appear to be able to do so without the need to enter any password for the second sync connection.
EDIT 06-02-2114:47
Okay, I found it. Do not go to settings, it will just show yoyu the currently active account.
I needed to add a (new) separate account: System tray - Nextcloud icon - Current account - Add
Quite normal. Although, IMHO, one could imagine that a button in the settings dialogue, next to the icon of the current accountâs icon, would be handy/instructive.