From 4e845592e2a1fe8220e118415aad2c1b600e6f29 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Vanhalle Date: Tue, 28 Nov 2023 22:47:15 +0100 Subject: [PATCH] removes unused file metadata when syncing to 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 e14848a..01e1706 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 --archive --compress --delete --delete-excluded --exclude-from="${deployment_exclude_file}" --human-readable --progress "${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 --recursive "${local_directory_path}/" "${remote_ssh_string}":"${remote_directory_path}"; then echo syncing OK else echo syncing NOK