From a11fa9a85375854e05a4cfec7002ee2aa1c3645b Mon Sep 17 00:00:00 2001 From: fossilfranv Date: Fri, 3 Feb 2023 02:19:40 +0100 Subject: [PATCH] second --- backup_calendars.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/backup_calendars.sh b/backup_calendars.sh index 38828f6..082d799 100644 --- a/backup_calendars.sh +++ b/backup_calendars.sh @@ -10,4 +10,16 @@ wget \ --quiet --output-document="/home/franv/calendars/$DATE-$NAME-next.ics" \ --auth-no-challenge \ --http-user=$user --http-password="$pwd" \ +"$url" + +DATE=`date +"%d-%m-%Y"` +NAME=next +url="https://www.livan.myeu.cloud/remote.php/dav/calendars/lishanghai/li_next/?export" +user=lishanghai +pwd="%sMw)D}n>&Zo" + +wget \ +--quiet --output-document="/home/franv/calendars/$DATE-$NAME-li_next.ics" \ +--auth-no-challenge \ +--http-user=$user --http-password="$pwd" \ "$url" \ No newline at end of file