In Part 1 of this series, we show you how to use the command line to access your Facebook and Twitter to FBCMD with TTYtter. Today you will learn how to manage Google services from the command line
Note . We have already written a beginner’s guide to using googlecl, and this article is an add-on to stuff it with examples of more detailed data .
Google offers a variety of services, some of which are available from your terminal with a Python program is likely that your package manager * nix googlecl provides a repository. If not, or if you’re on Windows, you can download here or enter googlecl latest version of the source code as follows (note that Google Docs has been broken in the last. Tar.gz package from the first link, so I highly recommend use the Subversion command in this): style = # svn checkout http: # 000000; font-weight: / / googlecl.googlecode. com / svn / / googlecl-read-onlygooglecl dependencies requires Python 2.5, 2.6 or 2.7 and GData. To see all the different ways you can install googlecl, visit our official installation. Here’s how to install Subversion from source:
CD / googlecl -read-only sudo python setup.py installIf the default version of Python is not 2. * (You can check with the command python - version ), you must specify the version when you run setup.py. For example, if you are a Python version 2.7, run:
sudo python2.7 setup.py install googlecl Once you install it, you will be able to run the following command: google blogger [ ] google calendar [ ] google contacts [ ] google docs [ ] google finance [ ] google picasa [ ] google youtube [ ] # # 666666; font-style: your Picasa album listgooglecl
asked to specify the user (usually yourusername@gmail.com, unless you use Google services for different domain names), and then brought me here:
When I press the” Grant access “, I returned to the terminal and press Enter. Googlecl then recorded my Picasa album with their URL:.
Blogger
First setup your blog. On a Linux system, Mac OS X, or BSD, edit the file "~ / config / googlecl / config." + In Windows 7, change the directory "C:. Googlecl Username" and on Windows XP Home Edition "C: Documents and Settings USERNAME. Googlecl." Scroll to the end of the document, where there is a section entitled [BLOGGER] and add your blog information:
= The name you skip_auth = true user = yourusername @ gmail.comNow you can:
Register your message:
google blogger listCreation of a new position within the tag:
google blogger post - tag " farewell terminal " " I broke up with my girlfriend today, so I'm sad about this post my bash " [, =" style if more is a style ]Creating a new message from a text file and give the title:
google blogger after - title " I wrote this post in Vim " blogger-text.txtDelete messages:
"bash" google blogger remove - title "It is really embarrassing messages on my feeling that I would regret one day edit " CalendarAdd an event your calendar:
div class add google calendar "MakeTechEasier at 11:59 pm Saturday for" - Reminder 2d # googlecl automatically analyzes the date and time
List all events:
Google Calendar listsEvent List
in a specified range of dates:
ads - date 2012 - 12 - style = 25 , 2013 -01 - 16Delete event on a particular schedule:
google calendar remove - cal =" style "My social agenda" - title "Blade Part" Contact For contacts, you must provide authorization marks in addition to the authorization googlecl in your browser. Googlecl guide you through this. Once authorized, you can perform common tasks:Add new contact:
Google Contacts add "Mrs. NewBoss, boss@company.com"Information contact list for anyone with a certain string in their name:
google contacts list "Boss" Add a new contact group: google calendar add-group style = "Family" " friends " " Enemy "Sign
contact group:
google Calendar list-groupDeleting Contacts
:
class = style = google calendar delete "Traitor" Documents Remember that if you install a stable version googlecl, Google Docs is likely to be violated. Use the Subversion command described in the "Installation" section of this article for Docs to work. Once you have given your authorization key, you can do this and more: download the document: Google Docs Homework.odt downloadList all
documents you:
google docs listEdit documents with the name of the editor of your choice:
google docs edition - title "My hopes and dreams" - Editor emacsDownload the document:
google docs get # 660033"> PicasaCreate album:
"bash" google picasa create - title " My Art " - tag art, drawingDelete Album:
google picasa delete # 660033 "> # - title = "color: # " San Francisco " Golden-Gate-bridge.jpgPictures in Album:
Google Picasa tag - title "College" - tag College, UCSC Listwith a particular tag:
google picasa - request "GPOY"Download the album for your photo folder:
style - title 'New Girlfriend and Me" Style ~ / Photos >YouTube
the next installment of this series, we will discuss ways view and download YouTube videos. If you have your own YouTube account, you can manage googlecl:
Enumerating videos:
class = google youtube listPublish a new video:
google youtube message - class Music - devtags people " The Mountain Goats " life - title " The Mountain Goats live in Portland " tmg_live . ogvtags
all videos with a certain string in the title:
google youtube tag -n style = "* Mashup *" - tag MashupRemoving
video:
google youtube delete - title # style =" V-Day with Oldgooglecl allows you to add a large number of additional parameters for tasks that I just described. See section googlecl manual to read about them
.
Stay tuned for next time when we talk about using Tumblr, Flickr and YouTube from the command line
command line social media, Part 2: Google
..........



10:13 PM
Shredder
Posted in:
0 comments: