Cleans Google Calendar events based on a set of rules.
- Obtain credentials for the Google Calendar API. See "Step 1" of Google's quickstart
- Save
client_secret.json
to this directory. - Install dependencies:
bundle install
ruby calendar-cleaner.rb
ruby calendar-cleaner.rb --help
ruby calendar-cleaner.rb --start "2017-01-01" --end "2017-01-07"
ruby calendar-cleaner.rb --start "2017-01-01" --end "2017-01-07" --calendar "foo@group.calendar.google.com"