From d1f3d03f63baa316e0bcdc5af3467321b01acb24 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 15 Jan 2025 10:56:18 +0000 Subject: [PATCH] add minus-O option to rsync --- publish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish b/publish index fdc7103..eb02bd5 100755 --- a/publish +++ b/publish @@ -10,6 +10,6 @@ hugo # build the new site echo "Set deploy site ownership..." sudo chown -R www-data:www-data ./public # set the ownership before transfer echo "Rsync to host..." -rsync --super -avhr -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com +rsync --super -avhrO -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com # echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash