dotfiles/.bin/OLD/getcal.sh
2024-02-14 07:55:58 +01:00

8 lines
246 B
Bash
Executable File

#!/bin/sh -x
URI="https://p101-caldav.icloud.com/1365501036/calendars/B9567D7C-2A67-442A-9439-2CA147934397/"
USER="silencex@me.com"
PASS="duob-lrgt-fsns-hnmo"
BASE="$(echo -n "$USER:$PASS" | base64)"
curl -H "Authorization: Basic $BASE" "$URI"