mirror of
https://github.com/rclone/rclone.git
synced 2025-03-28 12:42:08 +02:00
Before this change if there were two files with the same name and the same ID in the same directory, dedupe would delete one of them but since these are actually the same file (with the same ID) then both files would be deleted leading to data loss. This should never actually happen, however it did happen as part of a bug introduced in rclone which was fixed by dfc7215bf9b7840f drive: fix duplicate items when using --drive-shared-with-me #4018 This change checks to see if any of the duplicates have the same ID and if they do it refuses to delete them.