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


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.