Skip to content

Instantly share code, notes, and snippets.

@Haaroon
Last active October 11, 2021 10:41
Show Gist options
  • Save Haaroon/de4162a28a63759cdd071208a0e895cf to your computer and use it in GitHub Desktop.
Save Haaroon/de4162a28a63759cdd071208a0e895cf to your computer and use it in GitHub Desktop.
How to export Outlook calendars OLM into Office 365 / Google / etc.
this process works on a macbook, but it will also work on another machine if you can find similar tools
This exports all outlook calendar events into individual .ics files, then using another tool we merge the many files into a single one to allow us to easily import it to any destination such as Office 365, Google etc.
If you have an OLM file, go to Step 1, then otherwise go to step 3
1. First export your outlook calendar into an OLM file
2. Next Reimport this into your PC, this will import the calendar as a calendar "on my computer"
3. Use this script to export all calendars to ICS https://gist.github.com/talkingmoose/f3a21b2c1ba26ade658d
4. Use this program to merge them into one, make sure there is no sapce in the file path https://github.com/hellopablo/ics-merger
5. Then drag the single .ics file into the calendar of your choice in your outlook app, this will sync the entries into the server. Note that it may loose the "invite sent by" part of the calendar entry. (Using the outlook web importer does not seem to work).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment