#!/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"