edit rclone command

This commit is contained in:
t0is 2025-03-03 16:35:42 +01:00
parent 6d4950d5df
commit c2a7fb16d2

View File

@ -20,9 +20,9 @@ while true; do
# The rclone copy command will:
# - Copy new or updated files (with --update, only files with newer timestamps are overwritten)
# - Preserve the folder structure by default
# - Use the provided Google Drive folder ID via --drive-folder-id
# - Use the provided Google Drive folder ID via --drive-root-folder-id
rclone copy "$LOCAL_DIR" "${REMOTE_NAME}:" \
--drive-folder-id="${DRIVE_FOLDER_ID}" \
--drive-root-folder-id="${DRIVE_FOLDER_ID}" \
--update \
--verbose
echo "Sync complete: $(date)"