When comparing existing files from local source to OneDrive, hash check is useless for Office files because of OneDrive's file conversion. I wanted to validate name/date only, and I used the following:
hello and weclome to the fourm,
this is not a bug.
here are some links for you to read
1.https://rclone.org/docs/#ignore-checksum
"Normally rclone will check that the checksums of transferred files match, and give an error “corrupted on transfer” if they don’t. You can use this option to skip that check. "
so that flag is used when transferring files.
Unfortunately, I can't use --size-only either, because OneDrive converts the files to an internal format, which alters the file size. For Office docs, the only reliable parameter to match is the date.
I assumed that check uses the same underlying implementation as the checking phase of copy, but apparently that isn't true.
While I would still consider my original issue a bug of sorts - it at least bears mentioning that this flag does nothing on check - this workaround is very helpful.
For clarity for other readers, I ended up running: rclone copy src:path dest:path --ignore-size --ignore-checksum --dry-run
Actually, I ended up doing --ignore-existing because some weird things happened with the backup method we used and some files appear to have had their touch dates randomly changed, along with some other weirdness. But @asdffdsa's suggestion resolved my original question.
keep in mind that rclone is a free command line, very reliable tool
as such, in the beginning there is a learning curve.
that is why there is --dry-run and this forum...
i am sure that over time you will learn of many other great items like --backup-dir, rclone mount and encrypted folders.
but did you know you can donate?
i assure you that donation does not go to me. https://rclone.org/donate/