skips files that are news on remote

This commit is contained in:
Jean-Christophe Vanhalle
2023-12-01 16:59:51 +01:00
parent f85c57c9b9
commit f3afb76350

View File

@@ -38,7 +38,7 @@ if [ "${remote_is_docker}" != "yes" ]; then
fi fi
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 echo syncing OK
else else
echo syncing NOK echo syncing NOK