Skip to main content

gcal - A Command Line Interface to Google Calendar

·1 min

A couple of weeks ago I published gcal, a Command Line Interface to Google Calendar.

It’s quite simple. If you have a .ics file of events you want to import into your calendar, run the following:

gcal events.ical

Or, you can create an event using shorthand, like this:

gcal 'tomorrow at noon. Lunch with Bob'

But first, you need to provide your credentials. Add the following to your ~/.netrc file:

machine google.com
login bob
password 1234

Installing

Its written in Perl, so if you already know how to install from CPAN you just need the name, App::gcal.

If not, and you are on a Mac or Linux system, just do the following to install the script:

curl -L http://cpanmin.us | perl - --sudo App::cpanminus
cpanm App::gcal

If on Windows, you first need to install perl. Then something like this should work.

cpanp -i App::gcal

More Information

For more information, see:

Any issues, please let me know.


Want great, practical advice on implementing data mesh, data products and data contracts?

In my weekly newsletter I share with you an original post and links to what's new and cool in the world of data mesh, data products, and data contracts.

I also include a little pun, because why not? 😅

    Newsletter

    (Don’t worry—I hate spam, too, and I’ll NEVER share your email address with anyone!)


    Andrew Jones
    Author
    Andrew Jones
    I build data platforms that reduce risk and drive revenue.