This is my process:
RuTorrent downloads to a folder, then unzips and then moves to the RCLONE monitored folder to be processed to my GDrive.
I am getting duplicate folders and I am also getting only the zipped files not the actual file from the zipped (mkv).
This is some info in my CRON file where I made a few changes:
if find $FROM* -type f -mmin +15 | read
then
start=$(date +’%s’)
echo “$(date “+%d.%m.%Y %T”) RCLONE UPLOAD STARTED” | tee -a $LOGFILE
MOVE FILES OLDER THAN 15 MINUTES
rclone move “$FROM” “$TO” --transfers=20 --checkers=20 --min-age 15m –delete-empty-src-dirs --log-file=$LOGFILE
echo “$(date “+%d.%m.%Y %T”) RCLONE UPLOAD FINISHED IN $(($(date +’%s’) - $start)) SECONDS”$ | tee -a $LOGFILE
fi
exit
I added –delete-empty-src-dirs and that is when I started seeing duplicates.
I really wanted the “delete” flag to work.
So now I changed it back to the way it was before and everything works fine except I have to manually go in and delete the empty folders:
rclone move “$FROM” “$TO” --transfers=20 --checkers=20 --delete-after --min-age 15m --log-file=$LOGFILE
echo “$(date “+%d.%m.%Y %T”) RCLONE UPLOAD FINISHED IN $(($(date +’%s’) - $start)) SECONDS” | tee -a $LOGFILE