So here's where I got to but I need a tiny steer just to finish off the command... I've nearly managed to string the whole thing into one command.
//[WORKING] - Get all resources that have the type 'Meeting Room' | For that list of resources multiprocess print the events that have 1 or more recurrences to recurringEvents.csv
gam config csv_output_row_filter "'resourceType:text=Meeting Room'" print resources | gam redirect csv ./recurringEvents.csv multiprocess csv - gam config csv_output_row_filter "'recurrence:count>=1'" calendar ~resourceEmail print events
I needed to multiprocess that last part so that I didn't get multiple outputs but I'm a little confused on how I can multiprocess but then pass that into the next command instead of into an actual .csv file
I understand this is wrong but just for the sake of explanation I want to add something like:
| gam csv recurringEvents.csv gam calendar ~calendarId delete events ~id
But then GAM tries to delete the events before recurringEvents.csv has been created
I think I need to adjust the last multiprocess/redirection or introduce some equivilent of commitbatch if someone can point me in the right direction?
Thanks
Si