# In praise of "rclone dedupe"

**URL:** <https://forum.rclone.org/t/in-praise-of-rclone-dedupe/38864>\
**Category:** Praise\
**Created:** [June 8, 2023, 3:19pm UTC](https://forum.rclone.org/t/in-praise-of-rclone-dedupe/38864 "2023-06-08T15:19:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pocomo](https://forum.rclone.org/user_avatar/forum.rclone.org/pocomo/32/9034_2.png) [@pocomo](https://forum.rclone.org/u/pocomo)\
**Post date:** [June 8, 2023, 3:19pm UTC](https://forum.rclone.org/t/in-praise-of-rclone-dedupe/38864/1 "2023-06-08T15:19:50Z")

</div>

I have about 700K files in my google drive. Like many here I can see that the free lunch is ending and I need to make alternate arrangements. I saw a lot of "duplicate found in source" errors while doing some migration testing, which were confounding to me at first.

I had never heard of a storage system which allows duplicate filename, but I suppose it makes sense for a file-on-top-of-object system which is apparently what GDrive is. "rclone lsl" let me manually inspect some of the error cases, which all seemed to just be literal duplications; same size and timestamps.

**rclone dedupe to the rescue!**

Running "rclone dedupe --dedupe-mode skip" on my entire drive successfully cleaned up all these duplicates in just over 1 hour without a single hiccup.

Bravo @ncw and all ye contributors, you have yet again saved someone's bacon! I am deeply grateful.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [June 9, 2023, 1:00pm UTC](https://forum.rclone.org/t/in-praise-of-rclone-dedupe/38864/2 "2023-06-09T13:00:29Z")

</div>

Great - glad that helped 🙂
