From 431bdded0f5dad961e1e4e5b3282e0f7c08ed115 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Sun, 18 Dec 2022 21:04:26 +0100 Subject: [PATCH] Aggiunto file con file da ignorare --- .rsyncignore | 3 +++ deploy | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .rsyncignore diff --git a/.rsyncignore b/.rsyncignore new file mode 100644 index 0000000..4b5e3bd --- /dev/null +++ b/.rsyncignore @@ -0,0 +1,3 @@ +_docs +deploy + diff --git a/deploy b/deploy index 7cdb95d..0a853ce 100755 --- a/deploy +++ b/deploy @@ -2,4 +2,5 @@ USER=terron -rsync -avzP ./ "$USER@poisson.phc.dm.unipi.it:public_html/" +rsync -avzP --exclude-from .rsyncignore ./ "$USER@poisson.phc.dm.unipi.it:public_html/" +