What is the problem you are having with rclone?
When syncing a local directory that contains two nearly-identically named files to Backblaze B2 cloud, I receive a Duplicate object found in source - ignoring
notice.
I've read many forum posts and GitHub issues that relate to issues with Unicode characters, but none that explain this specific phenomenon. It is possible that the issue is related to Backblaze, but I wondered if maybe there was an obvious reason that rclone is failing to sync these files as if they were unique.
I've confirmed that my locale
is LANG=en_US.UTF-8
The offending characters are é and é which evaluate to 0x65+0x301 and 0xE9 respectively.
My hypothesis is that for some reason rclone is viewing these characters as identical, which prevents it from seeing the filenames as unique.
It could also be my misunderstanding of Unicode/language, in that these characters should indeed be treated as identical, and that it is a failure of our organizational methods to eliminate the seemingly duplicate name. I could imagine that difference between é and é would be similar to character case, and should technically be ignored or clobbered in the default case.
What is your rclone version & operating system?
rclone v1.51.0
- os/arch: linux/amd64
- go version: go1.13.7
Which cloud storage system are you using?
Backblaze B2
The command you were trying to run
rclone sync /my_server/archive/_protected/_webtools/_archive/recruiting.old/resumes backblaze:my-bucket-name/my_server/archive/_protected/_webtools/_archive/recruiting.old/resumes --transfers 16 --links --exclude "._*" --exclude ".DS_Store" --progress --local-no-unicode-normalization
I tried this with and without --local-no-unicode-normalization
A log from the command with the -vv
flag
2020/05/12 02:52:38 ERROR : The --local-no-unicode-normalization flag is deprecated and will be removed
2020-05-12 02:52:40 NOTICE: 2009.06.18.22.48-DREDACTEDr_Résumé.doc: Duplicate object found in source - ignoring
2020-05-12 02:52:40 NOTICE: 2009.06.30.21.49-SREDACTEDé PREDACTEDe.doc: Duplicate object found in source - ignoring
2020-05-12 02:52:40 INFO : B2 bucket my-bucket-name path my_server/archive/_protected/_webtools/_archive/recruiting.old/resumes: Waiting for checks to finish
2020-05-12 02:52:40 DEBUG : 2009.01.17.04.25-BREDACTEDo_2008_resume.pdf: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.01.17.04.25-BREDACTEDo_2008_resume.pdf: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.06.18.22.48-DREDACTEDr_Résumé.doc: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.06.18.22.48-DREDACTEDr_Résumé.doc: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.06.30.21.49-SREDACTEDé PREDACTEDe.doc: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.06.30.21.49-SREDACTEDé PREDACTEDe.doc: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.07.16.10.54-ZREDACTEDe.pdf: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.07.16.10.54-ZREDACTEDe.pdf: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.07.20.17.37-JREDACTEDs-Resume.jpg: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.07.20.17.37-JREDACTEDs-Resume.jpg: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.07.22.16.12-AREDACTEDrt resume09.doc: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.07.22.16.12-AREDACTEDrt resume09.doc: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.07.23.22.02-PREDACTEDiResume.pdf: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.07.23.22.02-PREDACTEDiResume.pdf: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.11.07.22.28-RREDACTEDs \'09-B.ai: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.11.07.22.28-RREDACTEDs \'09-B.ai: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.11.07.22.28-RREDACTEDs '09-B.ai: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.11.07.22.28-RREDACTEDs '09-B.ai: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.11.11.14.49-SREDACTEDe\'s Resume.doc: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.11.11.14.49-SREDACTEDe\'s Resume.doc: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.11.11.14.49-SREDACTEDe's Resume.doc: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.11.11.14.49-SREDACTEDe's Resume.doc: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.12.09.14.55-CREDACTEDa_resume_2009_6.pdf: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.12.09.14.55-CREDACTEDa_resume_2009_6.pdf: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.12.11.13.53-JREDACTEDs_Resume.pdf: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020-05-12 02:52:40 DEBUG : 2009.12.11.13.53-JREDACTEDs_Resume.pdf: Unchanged skipping
2020-05-12 02:52:40 DEBUG : 2009.11.14.23.27-AREDACTEDa(Resume).rtf: Unchanged skipping
2020-05-12 02:52:40 INFO : B2 bucket my-bucket-name path my_server/archive/_protected/_webtools/_archive/recruiting.old/resumes: Waiting for transfers to finish
2020-05-12 02:52:40 INFO : Waiting for deletions to finish
2020/05/12 02:52:40 DEBUG : 7 go routines active