This is a quick & dirty calendar synchronization script.
It simply copies all events from one iCal calendar to another, for given time period. Why? I created this script to help me transfer business calendars events to my shiny Apple Watch Series 2.
brew install vi4m/repo/calendarsync
{
"privateCalendar": "1BA1FFED-17F7-48D1-BA07-3D207D8C5C16",
"officeCalendar": "64362FAC-8DFF-485A-991B-B23B84D14D69"
}
where officeCalendar is the ID of the calendar with all source business meetings.
Now - launch program from console. It will show logs, and will copy all business meetings from next 2 days to your iCloud calendar.