summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-01-13 13:46:44 +0100
committerkdx <kikoodx@paranoici.org>2023-01-13 13:46:44 +0100
commit24261fcde54fa339c90a31eeb37603cde8c8c5f0 (patch)
tree3f3a78f8c7157f3428a9ce9ce915d8a24fe51f1d
parent363c3d51d2d54bbeadb2c247b54039ce574146c2 (diff)
downloadcite-scrapper-main.tar.gz
use scp instead of rsyncHEADmain
-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