How to make the latest rclone version throw an error message for duplicate source files/folders like previous versions did?

What is the problem you are having with rclone?

Rclone used to throw an error message if two files with the same name existed in a Google Drive source. For example: Duplicate directory found in source - ignoring. Since updating to the latest, I no longer see this and Rclone by default will select the latest file. How can I bring back the error message?

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

rclone v1.64.0
- os/version: darwin 13.5.2 (64 bit)
- os/kernel: 22.6.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.21.1
- go/linking: dynamic
- go/tags: cmount

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

Google Drive

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

rclone copy -P gd:/ "/Volumes/2 TB/" --include "Backups/**"

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

[gd]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
acknowledge_abuse = true
token = XXX
root_folder_id = XXX
team_drive =

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

2023/09/15 18:03:11 DEBUG : Creating backend with remote "gd:/"
2023/09/15 18:03:11 DEBUG : Using config file from "/Users/username/.config/rclone/rclone.conf"
2023/09/15 18:03:11 DEBUG : fs cache: renaming cache item "gd:/" to be canonical "gd:"
2023/09/15 18:03:11 DEBUG : Creating backend with remote "/Volumes/2 TB/"
2023/09/15 18:03:11 DEBUG : fs cache: renaming cache item "/Volumes/2 TB/" to be canonical "/Volumes/2 TB"
2023-09-15 18:03:11 DEBUG : gd: Loaded invalid token from config file - ignoring
2023-09-15 18:03:11 DEBUG : Saving config "token" in section "gd" of the config file
2023-09-15 18:03:11 DEBUG : gd: Saved new token in config file

Are you sure you have duplicates? As they are reported the same way as before for me:

$ rclone version
rclone v1.64.0
- os/version: darwin 13.5.2 (64 bit)
- os/kernel: 22.6.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.21.1
- go/linking: dynamic
- go/tags: cmount
$ rclone ls drive:
      176 README.TXT
     8052 IC 15OCT.xlsx
     7147 IF 08OCT.xlsx
   166176 IPv4CIDRChart_2015.jpg
     6827 IL 00OCT.xlsx
     6827 IL 00OCT.xlsx
$ rclone copy drive: .
2023/09/16 15:01:30 NOTICE: IL 00OCT.xlsx: Duplicate object found in source - ignoring
1 Like

You are right, I retested it and it appeared again, I am unsure why I thought there were no dupe messages earlier. Thanks

1 Like

If I may ask, does rclone copy always do a checksum verification at the end to see if the local matches remote (unless you specify --ignore-checksum )? I ask because rclone copy doesn't seem to hang for too long at the end, and I would expect a post copy checksum matching process to take a while. Thanks!

Yes but it happens in parallel and for every file as soon as it is copied - not after all copy finishes.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.