Sunday, April 24, 2011

The Google Command Line Tool, for Linux and Windows

By Vasudev Ram -

The Google Command Line Tool was released in June 2010. It allows you to do many Google operations from the Linux command line, including running operations that involve Blogger, Google Docs, Google Calendar, Picasa, Google Contacts and more. An additional benefit is that since it is a command-line tool like any other, you can include it in scripts (written in shell / Python / Perl / other scripting language), with if/then/else, for or while loops, delayed execution using the sleep command, and more. (*)

Here is the post about it on the Google Open Source blog - it has details on where to download it, usage examples, etc.:

Introducing the Google Command Line Tool:

The tool is also available for Windows now, though the blog post does not mention that, as far as I could see.

If you don't know how to write command-line utilities for UNIX/Linux and variants, check out my tutorial article on it, written for IBM developerWorks:

Developing a Linux command-line utility:

(*) There are certain conventions that should be followed by command-line tools that you want to play well with other commands and in scripts. My article discusses those in some detail.

Posted via email
- Vasudev Ram - Dancing Bison Enterprises

No comments: