# rClone move doesn't delete source files

**URL:** <https://forum.rclone.org/t/rclone-move-doesnt-delete-source-files/791>\
**Category:** Help and Support\
**Created:** [January 18, 2017, 5:06pm UTC](https://forum.rclone.org/t/rclone-move-doesnt-delete-source-files/791 "2017-01-18T17:06:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![OldMike](https://forum.rclone.org/letter_avatar_proxy/v4/letter/o/90db22/32.png) [@OldMike](https://forum.rclone.org/u/OldMike)\
**Post date:** [January 18, 2017, 5:06pm UTC](https://forum.rclone.org/t/rclone-move-doesnt-delete-source-files/791/1 "2017-01-18T17:06:48Z")

</div>

Hi,

I use a script to rclone move some files after a completed download. But the source files are not deleted after the transfer. Whats wrong in my config?

Mount script

> ```
> # Encrypted ACD mount
> /usr/sbin/rclone mount \
> --allow-non-empty \
> --allow-other \
> --no-modtime \
> --max-read-ahead 2G \
> --acd-upload-wait-per-gb=3m0s \
> --acd-templink-threshold 9 \
> --checkers 2 \
> --transfers 2 \
> --bwlimit 100M \
> --timeout 10m0s \
> --ignore-existing \
> --no-check-certificate \
> --retries 5 \
> --stats 0 \
> --log-file /root/ACD.log \
> ACD_Enc: /home/mike/Enc_ACD/ &
> exit
> 
> ```

> ```
> # ACD mount
> /usr/sbin/rclone mount \
> --allow-non-empty \
> --allow-other \
> --no-modtime \
> --max-read-ahead 2G \
> --acd-upload-wait-per-gb=3m0s \
> --acd-templink-threshold 9 \
> --checkers 2 \
> --transfers 2 \
> --bwlimit 100M \
> --timeout 10m0s \
> --ignore-existing \
> --no-check-certificate \
> --retries 5 \
> --stats 0 \
> --log-file /root/ACD.log \
> ACD_Kodi: /home/mike/ACD/ &
> exit
> 
> ```

Move script (taken from those forums BTW)

> ```
> #!/bin/bash
> #######################################
> ### NZBGET POST-PROCESSING SCRIPT ###
> # Rclone upload to Amazon Cloud Drive
> # Wait for NZBget/Sickrage to finish moving files
> sleep 10s
> # Upload
> /usr/sbin/rclone move -c /home/mike/Films ACD_Enc:/Films --log-file /home/mike/logs/ACDnzbfilms.log
> # Send PP Success code
> exit 93
> EOF
> 
> ```

---

<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:** [January 18, 2017, 5:52pm UTC](https://forum.rclone.org/t/rclone-move-doesnt-delete-source-files/791/2 "2017-01-18T17:52:00Z")

</div>

> [@OldMike](#):
>
> But the source files are not deleted after the transfer.

The the uploads complete successfully? Check the log.

---

<div class="post-metadata">

**Author:** ![OldMike](https://forum.rclone.org/letter_avatar_proxy/v4/letter/o/90db22/32.png) [@OldMike](https://forum.rclone.org/u/OldMike)\
**Post date:** [January 18, 2017, 5:57pm UTC](https://forum.rclone.org/t/rclone-move-doesnt-delete-source-files/791/3 "2017-01-18T17:57:06Z")

</div>

Yep, no prob detected.

> Transferred: 7.712 GBytes (16.407 MBytes/s)  
> Errors: 0  
> Checks: 3  
> Transferred: 3  
> Elapsed time: 8m1.3s  
> Transferring:
> 
> - ...file.ext: 100% done, 7.044 MBytes/s, ETA: 0s

---

<div class="post-metadata">

**Author:** ![Ajki](https://forum.rclone.org/user_avatar/forum.rclone.org/ajki/32/44_2.png) [@Ajki](https://forum.rclone.org/u/Ajki)\
**Post date:** [January 18, 2017, 11:23pm UTC](https://forum.rclone.org/t/rclone-move-doesnt-delete-source-files/791/4 "2017-01-18T23:23:35Z")

</div>

Works ok for move, so stuff in /mike/Films is not being deleted ?

Add flag:  
`--delete-after`

Also I strongly suggest you use --no-traverse as it will speed up a lot since rclone wont scan complete destination before upload and also I would remove --no-modtime from mount especially if you use Plex the so called speed benefits are minimal ( not noticeable ).

---

<div class="post-metadata">

**Author:** ![OldMike](https://forum.rclone.org/letter_avatar_proxy/v4/letter/o/90db22/32.png) [@OldMike](https://forum.rclone.org/u/OldMike)\
**Post date:** [January 19, 2017, 8:31am UTC](https://forum.rclone.org/t/rclone-move-doesnt-delete-source-files/791/5 "2017-01-19T08:31:30Z")

</div>

Thank you, I’ll deal with it.

---

<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:35am UTC](https://forum.rclone.org/t/rclone-move-doesnt-delete-source-files/791/6 "2020-03-04T00:35:36Z")

</div>

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


