rClone move doesn't delete source files

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

The the uploads complete successfully? Check the log.

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

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 ).

1 Like

Thank you, I’ll deal with it.