Giter Club home page Giter Club logo

bulk-move-google-calendar-events's Introduction

Bulk-Move-Google-Calendar-Events

Bulk move calendar events from one Google Calendar to another Google Calendar using Google Apps Script with Google Calendar API

利用 Google Apps Script 及 Google Calendar API 編寫的小程式,可批次修改 (bulk edit) Google Calendar 的事件。

How to Setup

  1. In your Google Drive, create a new Apps Script project.
  2. Copy the codes in _moveTo.gs, calendarAPI.gs, and _config.gs from the repository to the Editor.
  3. In the script editor, select Resources > Advanced Google services....
  4. In the Advanced Google Service dialog that appears, click the on/off switch next to the Calendar API service to enable it.
  5. Click OK to close the dialog.
  6. Open the _config.gs file, declare your Calendar Ids to the Cal_Id object.

How to Use

  1. Change the enddate in line 4 of moveTo.gs.
  2. By default, the startdate in line 5 is defined as 31 days before the enddate. Please change the code if you want to set a different period of date.
  3. In line 12, the Move1To2() function moves the events from Calendar1 to Calendar2. Plesae create a custom function if you need to process multiple sets.
  4. Replace the value for the kword variable (line 19) inside the Move1To2() function with the query keyword for the calendar events.
  5. Run the doGet() function.
    Note: A dialog will pop up for authorization when you run the script for the first run.
  6. Verify the update in your Google Calendar.

📹 YouTube

<iframe width="560" height="315" src="https://www.youtube.com/embed/cc4RaE80LN0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

bulk-move-google-calendar-events's People

Contributors

chriskyfung avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

camgorman

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.