Google released Python based command line utility, GoogleCL. for Google products. GoogleCL is not for the fainthearted who can’t live without mouse. It is for those nerds who live on the terminal. With GoogleCL Google nerds can access the Google products; Blogger, Calendar, Contacts, Docs, Picasa, and YouTube, right from their terminal using linux-like commands.
How To Use GooglCL?
GoogleCL can be downloaded from here and installed on Linux/Mac/Windows. GoogleCL requires that Google’s gdata-python-client and Python be installed.
GoogleCL follows a simple syntax of the form
google service task
where
- “service” is the Google service being used, like Picasa and Blogger (all in lowercase).
- “task” is the task that one wants to accomplish (like uploading an album)
Google says one can get more help from
You can also access help by typing $ ./google.py help or help on a specific service with $ ./google help <service>. For help with available options and what they mean, use $ ./google --help
GoogleCL Usage Example
If one wants to upload photos from a directory to Picasa web album, no need to go to the web based picasa app and click your ways to uploads the photos. GoogleCL lets users to upload the photos with one single command on the terminal.
google picasa create --album "Summer2010 Photos" ~/photo/summer2010/*.jpg
Similarly, one can easily perform tasks, like posting to a Blogger blog, updating your contacts, editing documents on Google Docs, and adding events to Calendar.
For example, to add an event to Google Calendar
google calendar add "Lunch meeting with John at noon tomorrow"
Find more examples of using GoogleCL here.
Related posts:
- Blogger Down and it affects Google’s Official Blogs As Well
- Google – China Spat: Time Line
- Smart Rescheduling in Google Calender
- Google Makes it Easier to Find the Right Chrome Extensions
- Google Video Chat 101: For Grandma From Google
- How To Make Phone Calls Using Gmail?
- How to count the number of files/directories in Mac/Linux