Google Introduces Command-Line Tool

A handful of Google services like Blogger and YouTube now accept a limited set of command-line instructions.

Thomas Claburn, Editor at Large, Enterprise Mobility

June 21, 2010

2 Min Read
Dark Reading logo in a gray background | Dark Reading

Having previously referred to its search technology as a "command-line interface to the world," Google has decided to implement an actual command-line tool for several of its services.

On Friday, Google announced the availability of GoogleCL, open-source software for Linux, Mac, and Windows that allows users to perform sophisticated tasks on a handful of Google sites.

Image Gallery: Top 10 Google Videos

(click for larger image and for full photo gallery)

"GoogleCL is a command-line utility that provides access to various Google services," explain Google engineer Jason Holt and former Google intern Tom Miller in a blog post. "It streamlines tasks such as posting to a Blogger blog, adding events to Calendar, or editing documents on Google Docs."

While Google provides instructions for installing GoogleCL on Linux, it only points to online posts by third-parties that describe how to install the software on Mac and Windows. Mac installation is made easier if the user has already installed software like MacPorts or homebrew.

The open source project Wiki indicates that easier Mac and Windows installation may available in the future.

GoogleCL is a Python application that uses Python gdata libraries to make Google Data API calls from the command line.

It currently provides access to the following services, arranged in order of implementation completeness: Picasa, Docs, YouTube, Blogger, Calendar, and Contacts.

Users can employ GoogleCL to do things like list, delete, and create Blogger posts, Picasa albums and images, or open Google Docs in an editor like vim.

There are other open source projects -- goofs and Goose, for example -- that aim to provide similar functionality for Google Calendar and Google Search. At some point, these projects may be merged with GoogleCL.

Read more about:

2010

About the Author

Thomas Claburn

Editor at Large, Enterprise Mobility

Thomas Claburn has been writing about business and technology since 1996, for publications such as New Architect, PC Computing, InformationWeek, Salon, Wired, and Ziff Davis Smart Business. Before that, he worked in film and television, having earned a not particularly useful master's degree in film production. He wrote the original treatment for 3DO's Killing Time, a short story that appeared in On Spec, and the screenplay for an independent film called The Hanged Man, which he would later direct. He's the author of a science fiction novel, Reflecting Fires, and a sadly neglected blog, Lot 49. His iPhone game, Blocfall, is available through the iTunes App Store. His wife is a talented jazz singer; he does not sing, which is for the best.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights