remove spaces
remove potential leak remove wrong cmd echo
This commit is contained in:
parent
7b6df7cb89
commit
1464f5a1e3
@ -1,18 +1,14 @@
|
||||
CALDIR=$HOME/.calendars
|
||||
file=$CALDIR/$1
|
||||
set +o history
|
||||
|
||||
|
||||
echo "calendar/file.ics PW\n"
|
||||
echo "calendar/file.ics\n"
|
||||
echo $file
|
||||
echo "insert PW for caldav:"
|
||||
read -s pw
|
||||
echo $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" \
|
||||
-T $file
|
||||
|
||||
echo "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"
|
||||
|
||||
set -o history
|
||||
|
Loading…
Reference in New Issue
Block a user