summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscrap.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scrap.sh b/scrap.sh
index a3aeffe..404db87 100755
--- a/scrap.sh
+++ b/scrap.sh
@@ -6,4 +6,5 @@ mkdir -p cite
./scrap seances.xml 1 0 1 >cite/nofr.html || exit 1
./scrap seances.xml 0 1 1 >cite/boring.html || exit 1
./scrap seances.xml 1 1 1 >cite/boringnofr.html || exit 1
-rsync -rvu --delete cite root@kdx.re:/var/www/html
+ssh root@kdx.re "rm -rf /var/www/html/cite"
+scp -r cite root@kdx.re:/var/www/html