Cannot upload content to an item representing a folder

What is the problem you are having with rclone?

I run rclone like below

RcloneToOneDrive='rclone sync -P --exclude "." --exclude "./**" --exclude-from .RcloneExcludeList --delete-excluded --skip-links ~/ OneDrive:BackUp'

This has been working fine for at least a year but now I get the below error. How can I fix that?

2025-04-29 12:31:23 ERROR : Attempt 3/3 failed with 1 errors and: notSupported: Cannot upload content to an item representing a folder.
Transferred: 395.913 MiB / 395.913 MiB, 100%, 201.485 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Checks: 187214 / 187214, 100%
Transferred: 89 / 89, 100%
Elapsed time: 22m6.2s
2025/04/29 12:31:23 Failed to sync: notSupported: Cannot upload content to an item representing a folder.
(base) tk@AAU118294:~$

Run the command 'rclone version' and share the full output of the command.

~ $ rclone version
rclone v1.60.1-DEV

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.8.0-58-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.22.2
  • go/linking: dynamic
  • go/tags: none

No

Which cloud storage system are you using? (eg Google Drive)

OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

~ $ rclone config redacted
Usage:
  rclone config [flags]
  rclone config [command]

Available Commands:
  create      Create a new remote with name, type and options.
  delete      Delete an existing remote.
  disconnect  Disconnects user from remote
  dump        Dump the config file as JSON.
  file        Show path of configuration file in use.
  password    Update password in an existing remote.
  paths       Show paths used for configuration, cache, temp etc.
  providers   List in JSON format all the providers and options.
  reconnect   Re-authenticates user with remote.
  show        Print (decrypted) config file, or the config for a single remote.
  touch       Ensure configuration file exists.
  update      Update options in an existing remote.
  userinfo    Prints info about logged in user of remote.

Flags:
  -h, --help   help for config

Additional help topics:
  rclone config edit       Enter an interactive configuration session.

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
Command config needs 0 arguments maximum: you provided 1 non flag arguments: ["redacted"]
~ $ 

A log from the command that you were trying to run with the -vv flag

The log is extremely long so I have only the start

rclone sync -P --exclude ".*" --exclude ".*/**" --exclude-from .RcloneExcludeList --delete-excluded --skip-links -vv ~/ OneDrive:BackUp
2025/04/29 14:36:39 DEBUG : rclone: Version "v1.60.1-DEV" starting with parameters ["/usr/bin/rclone" "sync" "-P" "--exclude" ".*" "--exclude" ".*/**" "--exclude-from" ".RcloneExcludeList" "--delete-excluded" "--skip-links" "-vv" "/home/tk/" "OneDrive:BackUp"]
2025/04/29 14:36:39 DEBUG : Creating backend with remote "/home/tk/"
2025/04/29 14:36:39 DEBUG : Using config file from "/home/tk/.config/rclone/rclone.conf"
2025/04/29 14:36:39 DEBUG : local: detected overridden config - adding "{HK82T}" suffix to name
2025/04/29 14:36:39 DEBUG : fs cache: renaming cache item "/home/tk/" to be canonical "local{HK82T}:/home/tk"
2025/04/29 14:36:39 DEBUG : Creating backend with remote "OneDrive:BackUp"
2025/04/29 14:36:39 DEBUG : OneDrive root 'BackUp': Token expired but no uploads in progress - doing nothing
2025/04/29 14:36:39 DEBUG : OneDrive: Loaded invalid token from config file - ignoring
2025/04/29 14:36:40 DEBUG : Saving config "token" in section "OneDrive" of the config file
2025/04/29 14:36:40 DEBUG : OneDrive: Saved new token in config file

2025-04-29 14:36:40 DEBUG : .ssr: Excluded


2025-04-29 14:36:40 DEBUG : .gnupg: Excluded


2025-04-29 14:36:40 DEBUG : .texlive2017: Excluded


welcome to the forum,

that is many years old, custom compiled, dev version from an out of date repository.

  1. uninstall the ancient version
  2. https://rclone.org/install/#script-installation
  3. test again

Thanks for the response. I have now installed the recent version and tried the backup again with the same errors as seen below

(base) tk@AAU118294:~$ rclone version
rclone v1.69.1

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.8.0-58-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.0
  • go/linking: static
  • go/tags: none
    (base) tk@AAU118294:~$

End of rclone output:

2025/05/01 12:00:44 ERROR : OneDrive root 'BackUp': not deleting files as there were IO errors
2025/05/01 12:00:44 ERROR : OneDrive root 'BackUp': not deleting directories as there were IO errors
2025/05/01 12:00:44 ERROR : Attempt 3/3 failed with 1 errors and: notSupported: Cannot upload content to an item representing a folder.
Transferred: 26.983 MiB / 26.983 MiB, 100%, 11.979 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Checks: 187357 / 187357, 100%
Transferred: 85 / 85, 100%
Elapsed time: 27m15.2s
2025/05/01 12:00:44 NOTICE: Failed to sync: notSupported: Cannot upload content to an item representing a folder.

need to look at the entire debug log, figure out the exact operation that causes the error.


to keep the log smaller, use --retries=1


for a deeper look at the api calls, use --dump=headers

I first ran the following which was without ERROR

(base) tk@AAU118294:~$ rclone sync --log-file=rclonelog.txt --retries=1 -P Private OneDrive:BackUpPrivate/Private
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 4935 / 4935, 100%
Elapsed time: 15.3s
(base) tk@AAU118294:~$

Then I ran the one which gives errors

(base) tk@AAU118294:~$ rclone sync --log-file=rclonelog.txt --retries=1 -P --exclude "." --exclude "./**" --exclude-from .RcloneExcludeList --delete-excluded --skip-links ~/ OneDrive:BackUp
Transferred: 883.520 KiB / 883.520 KiB, 100%, 9.501 KiB/s, ETA 0s
Errors: 2 (retrying may help)
Checks: 62464 / 62464, 100%
Transferred: 7 / 7, 100%
Elapsed time: 17m23.8s
(base) tk@AAU118294:~$

The log file below includes output from the last one

2025/05/01 17:52:08 ERROR : tmp: Failed to copy: notSupported: Cannot upload content to an item representing a folder.
2025/05/01 17:52:08 ERROR : rclonelog.txt: corrupted on transfer: quickxor hashes differ src(Local file system at /home/tk) "467ecfd6579a2add5359e5640c174ffa395d3be2" vs dst(OneDrive root 'BackUp') "0000000000000000000000000000000000000000"
2025/05/01 17:52:09 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/BooksAndPresentations/IMMderivationLink\xf6pingsUniversitet2023.pdf"
2025/05/01 17:52:11 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/Martin H\xf8jlund Therkildsen - Vestas internship"
2025/05/01 17:52:11 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/Rasmus L\xf8vschall Kristiansen - Vestas internship"
2025/05/01 17:52:15 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Admin/HolidayRegistrationEtc/20192020/Forh\xe5ndsdisponering for miniferie\xe5ret 2020.pdf"
2025/05/01 17:52:22 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Admin/SideLineOccupation/Bibesk\xe6ftigelse.pdf"
2025/05/01 17:52:22 NOTICE: Matlab/Estimation/KF/Observability/f.m: Duplicate object found in source - ignoring
2025/05/01 17:52:22 NOTICE: Matlab/Estimation/KF/Observability/ftv.m: Duplicate object found in source - ignoring
2025/05/01 17:52:22 NOTICE: Matlab/Estimation/KF/Observability/h.m: Duplicate object found in source - ignoring
2025/05/01 17:52:22 NOTICE: Matlab/Estimation/KF/Observability/htv.m: Duplicate object found in source - ignoring
2025/05/01 17:52:24 NOTICE: Matlab/Education/Estimation/fl.m: Duplicate object found in source - ignoring
2025/05/01 17:52:24 NOTICE: Matlab/Education/Estimation/fnl.m: Duplicate object found in source - ignoring
2025/05/01 17:52:24 NOTICE: Matlab/Education/Estimation/hl.m: Duplicate object found in source - ignoring
2025/05/01 17:52:24 NOTICE: Matlab/Education/Estimation/hnl.m: Duplicate object found in source - ignoring
2025/05/01 17:52:26 NOTICE: Matlab/MFiles/axismargin.m: Duplicate object found in source - ignoring
2025/05/01 17:52:26 NOTICE: Doc/Education/Admin/Guidelines Digital exams January 2022.pdf: Duplicate object found in source - ignoring
2025/05/01 17:52:29 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/AllFilesForSSEx/f.m: Duplicate object found in source - ignoring
2025/05/01 17:52:29 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/AllFilesForSSEx/h.m: Duplicate object found in source - ignoring
2025/05/01 17:52:30 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "PC-backup/windows/Windows2006/Octave/JRPhysics/B\xe5dfors\xf8g.xls"
2025/05/01 17:52:30 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "PC-backup/windows/Windows2006/Octave/JRPhysics/B\xe5dfors\xf8g.txt"
2025/05/01 17:52:31 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/Assessment/Aksel \xd8rum T\xf8ttrup Poulsen ES9 - Projektorienteret forløb i en virk_96117"
2025/05/01 17:52:31 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/Assessment/Grundl\xe6ggende elektroniske systemer - ESD1 projekt E24"
2025/05/01 17:52:32 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/LAndNLTISystem/f.m: Duplicate object found in source - ignoring
2025/05/01 17:52:32 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/LAndNLTISystem/fDD.m: Duplicate object found in source - ignoring
2025/05/01 17:52:32 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/LAndNLTISystem/h.m: Duplicate object found in source - ignoring
2025/05/01 17:52:34 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/LorenzSystem/f.m: Duplicate object found in source - ignoring
2025/05/01 17:52:34 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/LorenzSystem/fDD.m: Duplicate object found in source - ignoring
2025/05/01 17:52:34 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/LorenzSystem/h.m: Duplicate object found in source - ignoring
2025/05/01 17:52:36 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/NLSISOSystem/f.m: Duplicate object found in source - ignoring
2025/05/01 17:52:36 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/NLSISOSystem/h.m: Duplicate object found in source - ignoring
2025/05/01 17:52:41 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/ControlAndReliabilityOfWindTurbines/Kursus-vindm\xf8ller-.doc"
2025/05/01 17:52:42 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/NoParInput/LAndNLTISystem/f.m: Duplicate object found in source - ignoring
2025/05/01 17:52:42 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/NoParInput/LAndNLTISystem/fDD.m: Duplicate object found in source - ignoring
2025/05/01 17:52:42 NOTICE: Matlab/Estimation/KF/TestOfKalmanFilterTK/NoParInput/LAndNLTISystem/h.m: Duplicate object found in source - ignoring
2025/05/01 17:52:55 NOTICE: PC-backup/windows/Windows2006/Doc/CV/Tex/Styles/div/ifac/ifac.bst: Duplicate object found in source - ignoring
2025/05/01 17:53:03 NOTICE: Tex/Styles/div/ifac/ifac.bst: Duplicate object found in source - ignoring
2025/05/01 17:53:03 NOTICE: texmf.HIDE/tex/latex/div/ifac/ifac.bst: Duplicate object found in source - ignoring
2025/05/01 17:53:18 NOTICE: Tex/Styles/Classes/baposter/examples/shrec/shrec_mncg.tex: Duplicate object found in source - ignoring
2025/05/01 17:53:18 NOTICE: Tex/Styles/Classes/baposter/examples/shrec/shrec_pr.tex: Duplicate object found in source - ignoring
2025/05/01 17:53:18 NOTICE: Tex/Styles/Classes/baposter/examples/shrec/und_mncg.tex: Duplicate object found in source - ignoring
2025/05/01 17:53:18 NOTICE: Tex/Styles/Classes/baposter/examples/shrec/und_pr.tex: Duplicate object found in source - ignoring
2025/05/01 17:53:30 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:30 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWind/fDI.m: Duplicate object found in source - ignoring
2025/05/01 17:53:30 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:31 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/Assessment/MartinTherkildsen/20211668-Martin H\xf8jlund Therkildsen_1346067_975951_Hovedopgave_CA9-POSC-report-mtherk21-V2.pdf"
2025/05/01 17:53:31 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/Assessment/MartinTherkildsen/20211668-Martin H\xf8jlund Therkildsen_1346067_974513_Bilag_POSC-Logbook.pdf"
2025/05/01 17:53:31 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWindDI/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:31 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWindDI/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:31 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:31 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:31 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTowerTwoWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:31 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTowerTwoWind/fDI.m: Duplicate object found in source - ignoring
2025/05/01 17:53:31 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTowerTwoWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:32 NOTICE: Matlab/WindEnergy/Aeolus/EWTWData/ECNPackage/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:32 NOTICE: Matlab/WindEnergy/Aeolus/EWTWData/ECNPackage/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWindDI/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWindDI/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWindDIARVN/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWindDIARVN/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTowerTwoWindDI/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTowerTwoWindDI/fD.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTowerTwoWindDI/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWind/IncLongTAMeas/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:33 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWind/IncLongTAMeas/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:34 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWindDIMAF/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:34 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWindDIMAF/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:34 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWindDIFVN/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:34 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWindDIFVN/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:34 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/SideWays/KFOnlySideWays/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:34 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/SideWays/KFOnlySideWays/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:34 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTowerTwoWindDIMAF/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:34 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTowerTwoWindDIMAF/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:35 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/Martin H\xf8jlund Therkildsen - Vestas internship/20211668-Martin H\xf8jlund Therkildsen_1346067_975951_Hovedopgave_CA9-POSC-report-mtherk21-V2.pdf"
2025/05/01 17:53:35 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/Education/Martin H\xf8jlund Therkildsen - Vestas internship/20211668-Martin H\xf8jlund Therkildsen_1346067_974513_Bilag_POSC-Logbook.pdf"
2025/05/01 17:53:36 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWindDIMAFNW/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:36 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWindDIMAFNW/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:36 NOTICE: Matlab/WindEnergy/Aeolus/EWTWData/EffectiveWindEst/EKFOneMassTwoWindECN/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:36 NOTICE: Matlab/WindEnergy/Aeolus/EWTWData/EffectiveWindEst/EKFOneMassTwoWindECN/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:36 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTwoWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:36 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/SingleTurbSimNREL/EKFOneMassTwoWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:36 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWindDIW/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:36 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTowerTwoWindDIW/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:37 NOTICE: Matlab/WindEnergy/Offwind/wake-farm-control-master/farmcontrol/readme.txt: Duplicate object found in source - ignoring
2025/05/01 17:53:37 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWindDIV0/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:37 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTowerTwoWindDIV0/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:37 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTwoWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:37 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTwoWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:37 NOTICE: Matlab/WindEnergy/Aeolus/OWEZData/EffectiveWindEst/EKFOneMassOneWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:37 NOTICE: Matlab/WindEnergy/Aeolus/OWEZData/EffectiveWindEst/EKFOneMassOneWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:38 NOTICE: Doc/Education/EstimationCA9/TK/Examen/Reexamen2020: Duplicate directory found in source - ignoring
2025/05/01 17:53:39 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTwoWindMohsenData/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:39 NOTICE: Matlab/WindEnergy/CASED/DynamicInflowEst/CART3/EKFOneMassTwoWindMohsenData/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:39 NOTICE: Matlab/WindEnergy/Aeolus/OWEZData/EffectiveWindEst/EKFOneMassTowerOneWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:39 NOTICE: Matlab/WindEnergy/Aeolus/OWEZData/EffectiveWindEst/EKFOneMassTowerOneWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:41 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTwoWindDI/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:41 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTwoWindDI/f.m.1: Duplicate object found in source - ignoring
2025/05/01 17:53:41 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTwoWindDI/f.m.new: Duplicate object found in source - ignoring
2025/05/01 17:53:41 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTwoWindDI/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:41 NOTICE: Matlab/WindEnergy/SimWindFarm/GenWindFarmEtc/CLWindcon/FarmLayout9WT.eps: Duplicate object found in source - ignoring
2025/05/01 17:53:41 NOTICE: Matlab/WindEnergy/Aeolus/OWEZData/EffectiveWindEst/EKFOneMassTowerTwoWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:41 NOTICE: Matlab/WindEnergy/Aeolus/OWEZData/EffectiveWindEst/EKFOneMassTowerTwoWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:42 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTwoWindPackage/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:42 NOTICE: Matlab/WindEnergy/Aeolus/Barrow/EffectiveWindEst/EKFOneMassTwoWindPackage/h.m: Duplicate object found in source - ignoring
2025/05/01 17:53:43 NOTICE: Matlab/WindEnergy/Aeolus/OWEZData/EffectiveWindEst/EKFOneMassTwoWind/f.m: Duplicate object found in source - ignoring
2025/05/01 17:53:43 NOTICE: Matlab/WindEnergy/Aeolus/OWEZData/EffectiveWindEst/EKFOneMassTwoWind/h.m: Duplicate object found in source - ignoring
2025/05/01 17:54:05 NOTICE: Doc/WindEnergy/CLWindcon/Admin/TMTDecision/RiskManagement_Deliverables track_Subtask_PartnerDistribution_MASTER.xlsx: Duplicate object found in source - ignoring
2025/05/01 17:58:51 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/WindEnergy/Meetings/AabentUniversitet/Invitation til \xc5bent Universitet.pdf"
2025/05/01 17:58:51 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/WindEnergy/Meetings/AabentUniversitet/Forel\xf8big Deltagerliste til \xc5bent Universitet Arrangement.pdf"
2025/05/01 17:58:54 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/WindEnergy/Meetings/MatchMaking/Liste over deltagere i konceptvingem\xf8de.pdf"
2025/05/01 17:58:57 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/WindEnergy/Norcowe/NORWIT/NORWIT_s\xf8knad.pdf"
2025/05/01 17:58:57 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/WindEnergy/Norcowe/NORWIT/NORWIT - Endelig s\xf8knad med vedlegg.pdf"
2025/05/01 17:58:59 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/WindEnergy/PRESTIGE/Admin/Store vindm\xf8ller skal sikres bedre - PRESTIGE.docx"
2025/05/01 17:58:59 NOTICE: Local file system at /home/tk: Replacing invalid UTF-8 characters in "Doc/WindEnergy/PRESTIGE/Admin/Store vindm\xf8ller skal sikres bedre - PRESTIGE.pdf"
2025/05/01 17:59:16 ERROR : OneDrive root 'BackUp': not deleting files as there were IO errors
2025/05/01 17:59:17 ERROR : OneDrive root 'BackUp': not deleting directories as there were IO errors
2025/05/01 17:59:17 ERROR : Attempt 1/1 failed with 2 errors and: corrupted on transfer: quickxor hashes differ src(Local file system at /home/tk) "467ecfd6579a2add5359e5640c174ffa395d3be2" vs dst(OneDrive root 'BackUp') "0000000000000000000000000000000000000000"
2025/05/01 17:59:17 NOTICE: Failed to sync with 2 errors: last error was: corrupted on transfer: quickxor hashes differ src(Local file system at /home/tk) "467ecfd6579a2add5359e5640c174ffa395d3be2" vs dst(OneDrive root 'BackUp') "0000000000000000000000000000000000000000"

cannot copy a file that is in-use. need to exclude it.


what is that, a local folder or what? do you need to back that up? as a test, exclude it.


need to use a debug log, add --log-level=DEBUG

I excluded the directory ~/Tmp in .RcloneExcludeList and also deleted the file ~/tmp plus two more and now it works. I don't know why but I am happy. Thanks for the help. If you want to figure out why it works know let me know.

(base) tk@AAU118294:~$ rclone sync --log-file=.rclonelog.txt --log-level=DEBUG --retries=1 -P --exclude "." --exclude "./**" --exclude-from .RcloneExcludeList --delete-excluded --skip-links ~/ OneDrive:BackUp
Transferred: 351.618 KiB / 351.618 KiB, 100%, 1.203 KiB/s, ETA 0s
Checks: 62556 / 62556, 100%
Deleted: 172 (files), 6 (dirs), 183.822 MiB (freed)
Transferred: 3 / 3, 100%
Elapsed time: 7m18.8s
(base) tk@AAU118294:~$