Google Calendar is great if you want to stay in touch with your calendar when you are on the road or away from your computer. It is free and is a brilliant application. To use it you can sign up for an account here. Secondly you’ll need an iCal Exchange account. iCal Exchange is a free service that provides a hosted space for your iCal calendars.
To set up iCal Exchange login to your account. You will see two URLs at the bottom of the screen. You need the Public URL. This is an important point - to use this setup you will need to use a public calendar. Google doesn’t yet support passwords on URLs so if you don’t want your calendar to be public then I’m afraid this setup won’t work for you! Copy the public URL - http://icalx.com/public/yourname/.
In iCal select the calendar you wish to publish and then go to Calendar > Publish. Select Private URL.
Fill in the information with the details from your iCal Exchange account. Then in the bottom right hand corner click the information icon. This will bring up information on the account. Change auto publish from ‘no’ to ‘after each change’. This means whenever you create or amend an entry it will be published to iCal Exchange.
Then go back into Ical Exchange and refresh. All being well you should see your calendar. There is a link to the .ics. Right click the link and copy it to the clipboard.
Log in to your Google Calendar account. In the left hand pane you should see your calendars. At the very bottom is a link “Manage Calendars”. Click this.
Then on the following page click “Add Calendar”. Then choose “Add by URL”. Paste the .ics link in that you copied from iCal Exchange. All being well you should now have your Calendar available in Google Calendar and it will automatically sync with your local copy of iCal.
You can of course have Google Calendar as the master. Under calendar details you will see a link for .ics. You can use this to subscribe to the calendar in iCal. Up to you which way round you do it!
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Using HashiCorp Vault with LDAP
How to use HashiCorp Vault to setup an LDAP backed secret store with read-only access for users in groups and read-write access for specific users
Linux and Unix xargs command tutorial with examples
Tutorial on using xargs, a UNIX and Linux command for building and executing command lines from standard input. Examples of cutting by character, byte position, cutting based on delimiter and how to modify the output delimiter.
Copy a file in Go
How to copy a file in Go. The ioutil package does not offer a shorthand way of copying a file. Instead the os package should be used.