This commit is contained in:
Zsolt Ero
2023-12-27 04:32:20 +01:00
parent ab1db8ea85
commit 6201463134
6 changed files with 24 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env bash
set -e
RUN_STR=$(basename "$PWD")
AREA=$(basename "$(dirname "$PWD")")
VERSION=$(basename "$PWD")
if [[ $AREA != "planet" && $AREA != "monaco" ]]; then
@@ -28,5 +28,5 @@ rclone sync \
--stats-one-line \
--log-file logs/rclone.log \
--exclude 'logs/**' \
. "cf:ofm-$AREA/$RUN_STR"
. "cf:ofm-$AREA/$VERSION"