From edc989d202aa1448741f43a3ac78ac8c56ccafbe Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 30 May 2021 14:49:23 +0200 Subject: New generate and sync scripts --- scripts/sync.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/sync.sh (limited to 'scripts/sync.sh') diff --git a/scripts/sync.sh b/scripts/sync.sh new file mode 100755 index 0000000..de16acd --- /dev/null +++ b/scripts/sync.sh @@ -0,0 +1,7 @@ +#!/bin/bash +cd $(dirname $0) +cd ../output +lftp << EOF + open -u ${LIGA_PLAYOFF_FTP_USER},${LIGA_PLAYOFF_FTP_PASS} ${LIGA_PLAYOFF_FTP_HOST} + mirror -R . ${LIGA_PLAYOFF_FTP_PATH} +EOF -- cgit v1.2.3