--links no longer works on Windows

What is the problem you are having with rclone?

--links option is no longer working on Windows

This problem is similar to this one :

Problem experienced since v1.69.2.

v1.69.1 works perfectly
v1.69.2 fails
v1.70.0 fails
v1.70.0-beta.8742.b196f1105.fix-8561-windows-symlinks fails

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

rclone v1.70.0-beta.8742.b196f1105.fix-8561-windows-symlinks

  • os/version: Microsoft Windows 10 Pro 22H2 22H2 (64 bit)
  • os/kernel: 10.0.19045.2006 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.24.3
  • go/linking: static
  • go/tags: cmount

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

IDrive e2

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

rclone sync ^
"\\[...]\#@\StorageB.bak\Programs\VSCode" ^
"[...]:/bak/tst/cur/[...].@/VSCode" ^
--backup-dir "[...]:/bak/tst/old/[...].H/VSCode" ^
--log-file "[...]\rclone.sync.test.2025-06-20@11h31m56s.log" ^
--links ^
--progress ^
-v

The rclone config contents with secrets removed.

[...]
type = s3
provider = IDrive
access_key_id = ...
secret_access_key = ...
endpoint = ...
server_side_encryption = aws:kms
no_check_bucket = true

A log from the command with the -vv flag

rclone v1.70.0-beta.8742.b196f1105.fix-8561-windows-symlinks
- os/version: Microsoft Windows 10 Pro 22H2 22H2 (64 bit)
- os/kernel: 10.0.19045.2006 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.24.3
- go/linking: static
- go/tags: cmount

--------------------------------------------------------------------------------

rclone sync "\\[...]\#@\StorageB.bak\Programs\VSCode" "[...]:/bak/tst/cur/[...].@/VSCode" --backup-dir "[...]:/bak/tst/old/[...].@/VSCode" --log-file "[...]\rclone.sync.test.2025-06-20@13h56m03s.log" --links --progress -vv

--------------------------------------------------------------------------------

2025/06/20 13:56:07 DEBUG : rclone: Version "v1.70.0-beta.8742.b196f1105.fix-8561-windows-symlinks" starting with parameters ["E:\\Admin+\\ToolKit\\Commands\\rclone.amd64.exe" "sync" "\\\\[...]\\#@\\StorageB.bak\\Programs\\VSCode" "[...]:/bak/tst/cur/[...].@/VSCode" "--backup-dir" "[...]:/bak/tst/old/[...].@/VSCode" "--log-file" "D:\\DataMisc\\rclone.sync.test.2025-06-20@13h56m03s.log" "--links" "--progress" "-vv" "--order-by" "name"]
2025/06/20 13:56:07 DEBUG : Creating backend with remote "\\\\[...]\\#@\\StorageB.bak\\Programs\\VSCode"
2025/06/20 13:56:11 DEBUG : Using config file from "E:\\Admin\\Scripts\\Operational\\RefCmds\\PreCmds\\rclone.conf"
2025/06/20 13:56:11 DEBUG : fs cache: renaming cache item "\\\\[...]\\#@\\StorageB.bak\\Programs\\VSCode" to be canonical "//?/UNC/[...]/#@/StorageB.bak/Programs/VSCode"
2025/06/20 13:56:11 DEBUG : Creating backend with remote "[...]:/bak/tst/cur/[...].@/VSCode"
2025/06/20 13:56:11 DEBUG : fs cache: renaming cache item "[...]:/bak/tst/cur/[...].@/VSCode" to be canonical "[...]:bak/tst/cur/[...].@/VSCode"
2025/06/20 13:56:11 DEBUG : Creating backend with remote "[...]:/bak/tst/old/[...].@/VSCode"
2025/06/20 13:56:11 DEBUG : fs cache: renaming cache item "[...]:/bak/tst/old/[...].@/VSCode" to be canonical "[...]:bak/tst/old/[...].@/VSCode"
2025/06/20 13:56:12 DEBUG : Microsoft VS Code: Need to transfer - File not found at Destination
2025/06/20 13:56:12 DEBUG : Desktop.ini: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/06/20 13:56:12 DEBUG : Desktop.ini: Unchanged skipping
2025/06/20 13:56:12 ERROR : Microsoft VS Code: Failed to copy: failed to open source object: The system cannot find the file specified.
...
2025/06/20 13:56:24 DEBUG : S3 bucket bak path tst/cur/[...].@/VSCode: Waiting for transfers to finish
2025/06/20 13:56:24 ERROR : S3 bucket bak path tst/cur/[...].@/VSCode: not deleting files as there were IO errors
2025/06/20 13:56:24 ERROR : S3 bucket bak path tst/cur/[...].@/VSCode: not deleting directories as there were IO errors
2025/06/20 13:56:24 ERROR : Attempt 1/3 failed with 1 errors and: failed to open source object: The system cannot find the file specified.
...
2025/06/20 13:56:36 DEBUG : S3 bucket bak path tst/cur/[...].@/VSCode: Waiting for transfers to finish
2025/06/20 13:56:36 ERROR : S3 bucket bak path tst/cur/[...].@/VSCode: not deleting files as there were IO errors
2025/06/20 13:56:36 ERROR : S3 bucket bak path tst/cur/[...].@/VSCode: not deleting directories as there were IO errors
2025/06/20 13:56:36 ERROR : Attempt 2/3 failed with 1 errors and: failed to open source object: The system cannot find the file specified.
...
2025/06/20 13:56:48 DEBUG : VSCode-win32-x64-1.88.1/vulkan-1.dll: Unchanged skipping
2025/06/20 13:56:48 DEBUG : S3 bucket bak path tst/cur/[...].@/VSCode: Waiting for transfers to finish
2025/06/20 13:56:48 ERROR : S3 bucket bak path tst/cur/[...].@/VSCode: not deleting files as there were IO errors
2025/06/20 13:56:48 ERROR : S3 bucket bak path tst/cur/[...].@/VSCode: not deleting directories as there were IO errors
2025/06/20 13:56:48 ERROR : Attempt 3/3 failed with 1 errors and: failed to open source object: The system cannot find the file specified.
2025/06/20 13:56:48 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Checks:             12435 / 12435, 100%, Listed 29415
Elapsed time:        36.8s

2025/06/20 13:56:48 DEBUG : 40 go routines active
2025/06/20 13:56:48 NOTICE: Failed to sync: failed to open source object: The system cannot find the file specified.


As mentioned earlier, v1.69.2 and v1.70.0 are failing as well.

Many thanks in advance.
``