Created
January 16, 2020 01:10
-
-
Save EldonMcGuinness/5b564cd153e99c318b8c453182ff74aa to your computer and use it in GitHub Desktop.
Copy a calendar from google into radicale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOOGLE_CAL="ics url" | |
LOGIN_CAL="user:pass" | |
DEST_CAL="url to radicale calendar" | |
curl "$GOOGLE_CAL" | curl -u "$LOGIN_CAL" -X PUT "$DEST_CAL" --data-binary @- | |
# If you're looking to share a calendar then use symlinks | |
#ln -sf /path/to/src /path/to/dest | |
#chown radicale:radicale /opt/radicale /etc/radicale -fR | |
#find /opt/radicale/ -type d -exec chmod 0750 "{}" \; | |
#find /etc/radicale/ -type d -exec chmod 0750 "{}" \; | |
#find /etc/radicale/ -type f -exec chmod 0600 "{}" \; | |
#find /opt/radicale/ -type f -exec chmod 0600 "{}" \; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment