Export google calendar events from one to another calandar

255 views
Skip to first unread message

Nelson Naves da Silva Teixeira

unread,
May 28, 2021, 3:18:50 PM5/28/21
to GAM for Google Workspace
Anybody kows if ti`s posible to export google calendar events from one to another calendar automacally?

Regards,

Kim Nilsson

unread,
Jun 2, 2021, 11:40:52 AM6/2/21
to GAM for Google Workspace
Nothing is automatic, unless you schedule something to do it.

This will move an event from one calendar to another, but you need to know the two CalendarIDs and all the EventIDs.

gam calendar CalendarID1 move events id EventID destination CalendarID2

You can print all events from the first calendar.

gam calendar CalendarID1 print events

Then use that as the csv source to the first command.

Ron

unread,
Jun 2, 2021, 2:26:36 PM6/2/21
to GAM for Google Workspace
I don't want to hijack this topic,  but I thought this may also be a problem for the op. I encountered syntax errors with gam calendar sourceCalID move event EventID to destCalID commands. The GAMADV-XTD3 wiki indicates to or destination is interchangeable syntax for the command. I've tried with a gam csv approach, then with a basic gam calendar approach, to rule out csv trouble. In all my attempts/tests of the first form of command:

gam calendar CalendarID1 move events id EventID destination CalendarID2

I see (apparently syntax) errors like:
">>>to<<<"
or
">>>destination<<<"
and
"ERROR: Invalid argument
Help: Syntax in file /home/username/bin/gamadv-xtd3/GamCommands.txt

I've had success with commands of the form gam calendar sourceCa...@group.calendar.google.com move events to destinatio...@group.calendar.google.com

But that moves all events from the source calendar to the destination calendar...

I'm using GAMADV-XTD3 6.03.29.

Ideas?

Kim Nilsson

unread,
Jun 2, 2021, 2:54:00 PM6/2/21
to Google Apps Manager
That's good, Ron.
That is exactly what the OP is asking for, a command that moves all events from source to destination.

/Kim
--
There is No Substitute!
Reply all
Reply to author
Forward
0 new messages