desktop
desktop copied to clipboard
nextcloudcmd with list of folders to sync
nextcloudcmd has the --unsyncedfolders to pass the list of folders to exclude from syncing.
I miss a way to pass a list of folders to sync, because I need to sync just a few folders, not my entire cloud.
Currently, if I need to sync 10 folders I need to run 10 different nextcloudcmd. This feature would let me run 1 nextcloudcmd to sync all these 10 folders.
Or, even better, a unified file format to define what to sync and what to not sync. For example:
+/folder1
+/folder2
-/folder2/hugesubfolder
+/folder3
Would sync only /folder1, /folder2 and /folder3 and would skip /folder2/hugesubfolder.
Of course this is just an example and suggestion. This format might be weak and not too generic.
Hello, i'm also looking for a solution with it, i have also an error message when using the unsyncedfolders, what's the format you used for this function, i can't find on internet an example of the formating and the format of the files to be used with it.
Thanks in advance.
Any updates or thoughts on this?
it might be better to adopt the familiar .gitignore:
*
!folder1
!folder2
folder2/hugesubfolder
!folder3