forgot slash

This commit is contained in:
jenz 2025-02-05 21:45:36 +01:00
parent 2b48da894e
commit 63b8f9560b

View File

@ -19,7 +19,7 @@ if [ $# -eq 1 ]
rclone copy /home/gameservers/fastdl/css_mg/maps r2demo:/css_mg/maps/
rclone copy /home/gameservers/fastdl/css_mg/sound r2demo:/css_mg/sound/
#svencoop
rclone copy /home/gameservers/fastdl/svencoop/svencoop_addon r2demo:svencoop/
rclone copy /home/gameservers/fastdl/svencoop/svencoop_addon r2demo:/svencoop/
echo 'Finished long run with all files updated.'
#else if no arguement given run default with 30minute maximum.
else
@ -40,6 +40,6 @@ else
rclone copy --max-age 30m --no-traverse /home/gameservers/fastdl/css_mg/maps r2demo:/css_mg/maps/
rclone copy --max-age 30m --no-traverse /home/gameservers/fastdl/css_mg/sound r2demo:/css_mg/sound/
#svencoop
rclone copy --max-age 30m --no-traverse /home/gameservers/fastdl/svencoop/svencoop_addon r2demo:svencoop/
rclone copy --max-age 30m --no-traverse /home/gameservers/fastdl/svencoop/svencoop_addon r2demo:/svencoop/
echo 'Finished short run with files younger than 30 minutes.'
fi