I have read https://docs.nextcloud.com/desktop/2.3/advancedusage.html#nextcloud-command-line-client
but I am not sure if NC CL can do one way syncs.
There is a desktop folder where files and subfolders will be modified, and I want these changes to be replicated on NC. So if I delete/rename/move/modify a file on desktop, NC should delete/rename/move/modify it in the cloud.
Since no changes will be made to the folder on NC, the default sync may just work. But, is there any way to prevent NC from making changes to the source folder?
On another note, I would like to use NC CL to move files from a desktop folder to NC. NC CL sync options suggest this is not possible, but there might be a work around like:
- set a desktop folder to sync
- sync the folder and get confirmation that all files are copied
- remove folder sync flag
- delete files in the folder
any hints much appreciated