r/GoogleAppsScript • u/justkeepswimming555 • Jan 31 '20
Create an ongoing script to automatically copy certain events from one Google calendar to another Google calendar
Hi,
I am trying to sync my work Google calendar to my personal Google calendar. I'd like to be able to automatically copy all work events EXCEPT for certain work events that start with a certain title (i.e., 'XYZ-') on an ongoing basis. For example, I have work events that all start with 'XYZ-'. The script would NOT copy these events to my personal Google calendar. Any help is appreciated. Thanks so much, will award coins! :)
6
Upvotes
7
u/smackjack3 Jan 31 '20
I actually wrote a little script to do this for a couple different work accounts I had. You can find the snippet here: https://gitlab.com/snippets/28854
Should help get ya started.