From 05fae5d06844e846e27c4f89d413e62e36eac4f5 Mon Sep 17 00:00:00 2001 From: jonathan santis Date: Thu, 9 Jan 2025 12:01:08 +0100 Subject: [PATCH] sda --- caldav-workaround.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/caldav-workaround.sh b/caldav-workaround.sh index 0b6e30c..df6f11a 100644 --- a/caldav-workaround.sh +++ b/caldav-workaround.sh @@ -1,13 +1,15 @@ CALDIR=$HOME/.calendars file=$CALDIR/$1 mail="test@gmail.com" +endpoint="https://apps.kolabnow.com/calendars" + set +o history echo "pass argument 1: the file in the form: adressbook/file_wich_causes_issues.ics" echo $file echo "insert PW for caldav:" read -s pw curl --verbose --user $mail:$pw -X PUT \ - "https://apps.kolabnow.com/calendars/$mail/$1"\ + "$endpoint/$mail/$1"\ -H "Content-Type:text/calendar" \ -T $file