edit rclone command
This commit is contained in:
parent
6d4950d5df
commit
c2a7fb16d2
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user