From 8d9ededd71be341b8d8312fc7209d3f7f876dc4b Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 15 Jan 2025 10:53:41 +0000 Subject: [PATCH] add minus-r option to rsync --- publish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish b/publish index b123e12..fdc7103 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 -avh -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com +rsync --super -avhr -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com # echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash