You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhancement: When using --checksum, files that differ in size should be uploaded first. #725
Let's say I'm uploading a large folder to Amazon Cloud Drive. Some files differ in size, while others are the same size but contain different data. In order to sync properly, I will have to use the --checksum option.
I spend some time uploading files, then need to stop the sync for some reason. When I resume, rclone will spend the next couple of hours checksumming the files I've already uploaded (I guess it traverses directories in the same order every time?), thus not making use of my available bandwidth. Meanwhile, other unuploaded files differ in size and will need to be transferred, regardless of their checksum.
In order to maximize use of resources and perform syncs as quickly as possible, files that differ in size should always be transferred first. Rclone can checksum other files while the transfer is going on.
rclone traverses directories in a somewhat non-deterministic (random) fashion. The way the architecture of rclone works (it streams everything) I can't easily do what you ask.
to freshen up any files which were modified in the last day. (Don't use rclone sync here you don't want this deleting any files.) Then finish this off with a
rclone sync --size-only /path/to/source acd:dest
to copy anything missed and delete deleted files. Once a month you could run
rclone sync --checksum /path/to/source acd:dest
to check if it has been working properly. You can also use
Activity
ncw commentedon Sep 13, 2016
rclone traverses directories in a somewhat non-deterministic (random) fashion. The way the architecture of rclone works (it streams everything) I can't easily do what you ask.
Here are some ideas...
Assuming you normally run
you could use
to freshen up any files which were modified in the last day. (Don't use
rclone synchere you don't want this deleting any files.) Then finish this off with ato copy anything missed and delete deleted files. Once a month you could run
to check if it has been working properly. You can also use
for this purpose.
#626 would help with this too.