Feeds

Google hits coder G-spot with Linux command line tool

'I love you, Google,' scream text interface obsessives

High performance access to file storage

Google has introduced a command line utility for accessing various Chocolate Factory services, including YouTube, Blogger, Google Docs, Calender, and Contacts. And an army of text-interface obsessives have responded with glee.

"I love you!!" one coder told Google. "This couldn't be better!!"

"Ooh, I hope it's not April 1 today. *calendar check* Wow, nope!" said another. "There goes my Friday evening."

"Effin amazing" said a third.

Google CL is a Python application that uses the gdata Python client library to make Google Data API calls from the command line. Currently, it supports Blogger, Picasa, YouTube, Google Docs, Contacts, and Calendar.

Just think of it. You can update your blog or browse a list of web videos or update your online calendar – all without stooping to the level of a GUI interface.

"Ever wanted to upload a folder full of photos to Picasa from a command prompt?" Google said in a blog post. "We did, a lot, last summer. It made us want to say:

$ google picasa create --title "My album" ~/Photos/vacation/*.jpg

So we wrote a program to do that, and a whole lot more."

The open source Google CL is hosted on Google Code, and you can browse the project here. Once you download the application, you too can enjoy such command line orgasms as:

$ google blogger post --blog "My blog" --tags "python, googlecl, development" my_post.html

and

$ google calendar add "Lunch with Jason tomorrow at noon"

and

$ google docs edit --title "Shopping list" --editor vim

The project is geared towards Linux. Google offers a Linux .deb package and a tar archive for download. But independent developer Isaac Truett is offering instructions for using the tool on Windows. And Google points to some Mac tips here.

Example scripts are available here. ®

High performance access to file storage

More from The Register

next story
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
HP ArcSight ESM solution helps Finansbank
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.