# Duplicate files after move command

**URL:** <https://forum.rclone.org/t/duplicate-files-after-move-command/5191>\
**Category:** Help and Support\
**Created:** [March 27, 2018, 4:21pm UTC](https://forum.rclone.org/t/duplicate-files-after-move-command/5191 "2018-03-27T16:21:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![madray](https://forum.rclone.org/letter_avatar_proxy/v4/letter/m/7993a0/32.png) [@madray](https://forum.rclone.org/u/madray)\
**Post date:** [March 27, 2018, 4:21pm UTC](https://forum.rclone.org/t/duplicate-files-after-move-command/5191/1 "2018-03-27T16:21:11Z")

</div>

Hi, I am using the below command in a script to move files as soon as they are completed, it works well, the only issue is that it is generating 2 files at `remote:Path`.

`/home/madray/bin/rclone move /home/madray/downloads/Completed/ remote:/Path`

How can I improve it to only have one file at `remote:Path`? File size is the same, so it is a duplicate.

Thanks in advance!

---

<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:** [March 27, 2018, 6:41pm UTC](https://forum.rclone.org/t/duplicate-files-after-move-command/5191/2 "2018-03-27T18:41:05Z")

</div>

I presume `remote:` is google drive?

Is it a normal drive account or is it a team drive or some other kind of drive?

Drive seems to produce duplicates for no reason I’ve been able to work out.

Team drives seem particularly susceptible to it.

I think the duplicates should only be occasional. You can fix them with [rclone dedupe](https://rclone.org/commands/rclone_dedupe/).

If you do see them every time then I’d be interested to debug further.

---

<div class="post-metadata">

**Author:** ![madray](https://forum.rclone.org/letter_avatar_proxy/v4/letter/m/7993a0/32.png) [@madray](https://forum.rclone.org/u/madray)\
**Post date:** [March 27, 2018, 6:55pm UTC](https://forum.rclone.org/t/duplicate-files-after-move-command/5191/3 "2018-03-27T18:55:05Z")

</div>

> [@ncw](#):
>
> I presume remote: is google drive?

Correct!

> [@ncw](#):
>
> Is it a normal drive account or is it a team drive or some other kind of drive?

Normal Drive Account.

> [@ncw](#):
>
> I think the duplicates should only be occasional. You can fix them with rclone dedupe.

Thanks for the quick reply and proposed fix! I will try that out and let you know in case it doesn't work.

Congratulations for such an amazing project!

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 4, 2020, 12:44am UTC](https://forum.rclone.org/t/duplicate-files-after-move-command/5191/4 "2020-03-04T00:44:17Z")

</div>

Closed on March 4, 2020, 12:44am UTC


