Googlecl, a command line tool to access various Google Services

Recently, google introduced a command line tool to access various Google services - Picasa, Youtube, blogger, calendar and docs. Its called googlecl. This tool lets you do a variety of things, like posting a blog on Blogger, uploading a video on Youtube, adding new events on calendar, editing a doc, upload any number of images on picasa(My Favourite), all from a single command!

It makes use of Python gdata libraries to call Google Data APIs from command line. Since, its python we are talking about, its a cross platform tool. There are .deb packages available for Debian or Ubuntu based systems.

Here are a few example scripts:

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

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

[shredder12]$ google calendar add "Lunch with Jason tomorrow at noon"

[shredder12]$ google docs edit --title "Shopping list" --editor vim

This tool makes life a hell lot easier for various similar tasks. Ever tried to upload a full collection of vacation photos on Picasa, it sucks , but with googlecl it can be done in a single command. Developers are also planning to support buzz, gmail, search and other apps but due to certain limitations in Python gdata libraries it will take some time to happen.

You can find more scripts here and if you are looking for some advanced use, you might want to go through the manual.

1 Comment

Apollon (not verified)
June 20th, 2010 06:37 pm
That's Cool! A really useful tool!

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <p> <br>
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.