|
|
@ -89,10 +89,12 @@ for destination in $destinations; do |
|
|
|
|
|
|
|
rclone_target="${rclone_destination}/${rclone_destination_subdir}" |
|
|
|
echo "Target: ${rclone_target}" |
|
|
|
# shellcheck disable=2086 |
|
|
|
rclone copy "${rclone_source}" "${rclone_target}" --size-only --progress --stats=2s ${rclone_args} |
|
|
|
|
|
|
|
if [[ "$rclone_dedupe" == "true" ]]; then |
|
|
|
echo "Running Dedupe for: ${rclone_target}" |
|
|
|
# shellcheck disable=2086 |
|
|
|
rclone dedupe --dedupe-mode "${rclone_dedupe_mode}" "${rclone_target}" ${rclone_args} |
|
|
|
fi |
|
|
|
done |
|
|
|