diff options
author | emkael <emkael@tlen.pl> | 2021-05-30 14:49:23 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2021-05-30 14:49:23 +0200 |
commit | edc989d202aa1448741f43a3ac78ac8c56ccafbe (patch) | |
tree | b703f93ff1f14fa4f33b860784d62fed124a3231 /scripts/sync.sh | |
parent | aa8bb4af737032b65abd924d11a499558879f565 (diff) |
New generate and sync scripts
Diffstat (limited to 'scripts/sync.sh')
-rwxr-xr-x | scripts/sync.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |