Add workaround script when vdirsyncer bugs out on changes
This commit is contained in:
parent
81b701e41f
commit
08dc2a5977
17
caldav-workaround.sh
Normal file
17
caldav-workaround.sh
Normal file
@ -0,0 +1,17 @@
|
||||
CALDIR=$HOME/.calendars
|
||||
file=$CALDIR/$1
|
||||
set +o history
|
||||
|
||||
|
||||
echo "calendar/file.ics PW\n"
|
||||
echo $file
|
||||
echo "insert PW for caldav:"
|
||||
read -s $pw
|
||||
curl --verbose --user j.wyss@kolabnow.ch:$pw -X PUT \
|
||||
"https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"\
|
||||
-H "Content-Type:text/calendar, If-Match: 'af036eb5632652ce-931-d41d8cd98f00b204'" \
|
||||
-T $file
|
||||
|
||||
echo "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"
|
||||
|
||||
set -o history
|
Loading…
Reference in New Issue
Block a user