nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.05k stars 801 forks source link

Add the possibility to select whether or not to synchronize the files in a folder #7479

Open ogarcia opened 1 week ago

ogarcia commented 1 week ago

Right now it is possible to select which subfolders you want to synchronize from a given folder. But you cannot indicate whether or not you want to synchronize the files in this folder. For example with this tree:

Folder
+- Subfolder1
+- Subfolder2
+- Subfolder3
+- File.jpg
+- Bigfile.iso
+- Bigfile.log

If I choose Folder as the root of the synchronization I can choose whether or not to synchronize Subfolder1, Subfolder2 and Subfolder3, but I cannot choose whether or not to synchronize the files contained in Folder. It would be very interesting to have an option to indicate whether or not you want these files.

FranzHoffmann commented 1 week ago

I'm not sure if this is what ogarcia means, but what I noticed is this: My file structure is this:

Nextcloud Nextcloud/Folder1 Nextcloud/Folder2 Nextcloud/Folder2/Subfolder1 Nextcloud/Folder2/Subfolder1/File1 Nextcloud/Folder2/File2

I selected to sync only "Nextcloud/Folder2/Subfolder1", but it still synced "Nextcloud/Folder2/File2"

This sis Version 3.14.3stable-Win64 (build 20241031)

ogarcia commented 6 days ago

@FranzHoffmann is not exactly the same, what I mean is that you can choose if you want to synchronize or not the files that are in a directory.

Using my initial example (slightly extended):

Folder
+- Subfolder1
   +- Subfolder_in_Subfolder1
   +- File_in_Subfolder1.txt
+- Subfolder2
   +- File_in_Subfolder2.txt
+- Subfolder3
   +- File_in_Subfolder3.txt
+- File.jpg
+- Bigfile.iso
+- Bigfile.log

This is represented in the nextcloud client as follows:

This allows me to select what happens to the directories, but not to the files contained in that directory. What I am referring to is that there is this possibility in the configuration:

This way all the files contained in Folder will not be synchronized, but if I create a new directory Subfolder4 it will be synchronized automatically.

What you are talking about @FranzHoffmann seems to be a bug. I would open a separate issue with it.