Risk
6/21/2010
05:06 PM
Connect Directly
Google+
LinkedIn
Twitter
RSS
E-Mail
50%
50%

Google Introduces Command-Line Tool

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

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.

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading Tech Digest, Dec. 19, 2014
Software-defined networking can be a net plus for security. The key: Work with the network team to implement gradually, test as you go, and take the opportunity to overhaul your security strategy.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-9676
Published: 2015-02-27
The seg_write_packet function in libavformat/segment.c in ffmpeg 2.1.4 and earlier does not free the correct memory location, which allows remote attackers to cause a denial of service ("invalid memory handler") and possibly execute arbitrary code via a crafted video that triggers a use after free.

CVE-2014-9682
Published: 2015-02-27
The dns-sync module before 0.1.1 for node.js allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the first argument to the resolve API function.

CVE-2015-0655
Published: 2015-02-27
Cross-site scripting (XSS) vulnerability in Unified Web Interaction Manager in Cisco Unified Web and E-Mail Interaction Manager allows remote attackers to inject arbitrary web script or HTML via vectors related to a POST request, aka Bug ID CSCus74184.

CVE-2015-0884
Published: 2015-02-27
Unquoted Windows search path vulnerability in Toshiba Bluetooth Stack for Windows before 9.10.32(T) and Service Station before 2.2.14 allows local users to gain privileges via a Trojan horse application with a name composed of an initial substring of a path that contains a space character.

CVE-2015-0885
Published: 2015-02-27
checkpw 1.02 and earlier allows remote attackers to cause a denial of service (infinite loop) via a -- (dash dash) in a username.

Dark Reading Radio
Archived Dark Reading Radio
How can security professionals better engage with their peers, both in person and online? In this Dark Reading Radio show, we will talk to leaders at some of the security industry’s professional organizations about how security pros can get more involved – with their colleagues in the same industry, with their peers in other industries, and with the IT security community as a whole.