I’m trying to sync my files and folders from gdrive to acd.
For this, I’m using this command: DEBUG : rclone: Version "v1.35-116-g3ef9f6fβ" starting with parameters ["rclone" "sync" "-v" "-vv" "--log-file=/mnt/synclog.log" "gdrive_decrypted:/" "acd_decrypted:/"]
Files and folders are transfered correctly. But i expect that files and folders will be deleted on target, which don’t exist on gdrive. But this is not the case.
In the log I can see errors like this: ERROR : Encrypted amazon drive root '': not deleting files as there were IO errors
I don’t know what is happening.
All files that should be deleted after sync are still visible on mount.
But if I do a “rclone ls” on the same folder, the files are gone.
Does anyone have or had similar issues? Why are the files visible on mount, but not on “rclone ls”? Is there some kind of “caching”?
By default rclone won’t delete any files until after the sync and the sync has run clean with no errors.
What rclone is saying there is that there were some errors in the sync so it isn’t deleting files.
Either try the sync again until it does run clean, or use the --delete-during flag which deletes stuff as it goes along. I recommend just retying the sync though.
Bumping because I recently had some similar problem. I'm using nextcloud v16.0.1 and the deletions wouldn't sync because some files had commas in its names (because of an earlier command I ran on the host machine that went wrong and created files "3,", "nextcloud.log,", etc). Those files were causing IO errors on each deletion, and after manually deleting them by sshing to the host, the sync completed successfully. I guess its a problem caused by the http request or something, don't really know.