Create blog post using Linux terminal – GoogleCL (Google CommandLine)

Posted: March 17, 2013 in blog, google, googlecl, terminal

As you know Linux terminal is a very powerful tool which allows the user to perform almost everything on your Linux machine. It is the best tool a developer should get used to. Most developers use Google services such as email, blogger, youtube, docs, calender, picasa and finance. In order to consume these services users have to use a web browser like Firefox or Chrome. But can’t we use our best tool, Linux terminal for it.

googlecl allows above services to be accessed via Linux commandline. You can

  • Create blog posts
  • Add calendar events
  • View your google docs
  • Add calendar events
  • Upload images to Picasa
  • Upload videos to Youtube

Step 1 – Install

sudo apt-get install googlecl

The syntax for any command is
google  SERICE TASK
services include blogger, docs, contacts, youtube, picaza and finance

Create a blog post

google blogger post --title "Terminal Blogging" "This post is created via Linux terminal"

List your contacts

google contacts list

List your google docs

google docs list

Upload images to Picasa

<tt>google picasa create "Terminal images" ~/photos/*.jpg</tt>



Upload videos to Youtube

<tt>google youtube post --category my_video.mp4</tt>

More examples can be found from the example page.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s