From f3afb76350f441efcc67b72247600126f75fe169 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Vanhalle Date: Fri, 1 Dec 2023 16:59:51 +0100 Subject: [PATCH] skips files that are news on remote --- deploy-directory-to-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-directory-to-remote.sh b/deploy-directory-to-remote.sh index 01e1706..0023ce4 100755 --- a/deploy-directory-to-remote.sh +++ b/deploy-directory-to-remote.sh @@ -38,7 +38,7 @@ if [ "${remote_is_docker}" != "yes" ]; then fi fi -if rsync --compress --delete --delete-excluded --exclude-from="${deployment_exclude_file}" --executability --human-readable --progress --recursive "${local_directory_path}/" "${remote_ssh_string}":"${remote_directory_path}"; then +if rsync --compress --delete --delete-excluded --exclude-from="${deployment_exclude_file}" --executability --human-readable --progress --update --recursive "${local_directory_path}/" "${remote_ssh_string}":"${remote_directory_path}"; then echo syncing OK else echo syncing NOK