RCLONE Dedupe without deleting files?

Hi everyone,

I have a problem with rclone dedupe, maybe I don't understand how it works.

I want to download files from google drive. There are files with identical names on the disk.
This may seem silly, but I want to keep google drive structure and download po files even though the names are the same.

I understand that in windows NTFS there is no way for files to have the same name, so DEDUPE comes to the rescue.

I use:

"C:\rclone\rclone.exe" dedupe rename "xxx:" -P --log-file=E:\_GoogleDrive\_LOGS\xxx_DEDUPE.txt --log-level DEBUG 

Logs from dedupe:

2022/11/27 12:16:44 NOTICE: xxx/TR-470-09-2021.pdf: Found 2 files with duplicate names
2022/11/27 12:16:44 NOTICE: xxx/TR-470-09-2021.pdf: Deleting 1/2 identical duplicates (md5 da5d9fa7c46a01f9dad585fef4a086c7)
2022/11/27 12:16:45 INFO  : xxx/TR-470-09-2021.pdf: Deleted
2022/11/27 12:16:45 NOTICE: xxx/TR-470-09-2021.pdf: All duplicates removed

I use the "rename" flag which theoretically should rename the duplicate by adding "(1)" rather than deleting the file.

Rclone dedupe wiki says "--dedupe-mode rename- delete identical files, then rename the rest to something else."
Is there a configuration that will not delete files?

You'd want to:

Share the output of rclone version

Share the full command you ran

Share the same command with -vv

If you share the full log, it would look something like this.

rclone dedupe --dedupe-mode rename GD: -vv
2022/12/01 07:26:32 DEBUG : Setting --config "/opt/rclone/rclone.conf" from environment variable RCLONE_CONFIG="/opt/rclone/rclone.conf"
2022/12/01 07:26:32 DEBUG : rclone: Version "v1.60.1" starting with parameters ["rclone" "dedupe" "--dedupe-mode" "rename" "GD:" "-vv"]
2022/12/01 07:26:32 DEBUG : Creating backend with remote "GD:"
2022/12/01 07:26:32 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2022/12/01 07:26:32 INFO  : Google drive root '': Looking for duplicate names using rename mode.
2022/12/01 07:26:34 DEBUG : 12 go routines active

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