Wednesday, October 27, 2010

Google command line tricks for access to google apps

A quick way to upload a lot of photos to Picassaweb is to use the google command line tool.  It is a python tool, so should be usable in both Windows and in Linux.

I have used it to upload a lot of photos to my picassa page

http://picasaweb.google.com/james.w.stephens  <didnt work will have to see why


http://picasaweb.google.com/106400050004841789338 

Here is the link to the google blog on the subject:

http://google-opensource.blogspot.com/2010/06/introducing-google-command-line-tool.html

this is an example of the use of the command after the google python bit is loaded.

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


Much less painful than the google picassa web interface.  Unfortunately, the picassa application seems to take off and try to find all of your pictures when you start it, and that is in the many GB and several hundred thousands of photos.


installing googlecl load
http://code.google.com/p/googlecl/downloads/detail?name=googlecl_0.9.13-1_all.deb&can=2&q=


also to get this to work gdata is required as well as
http://code.google.com/p/gdata-python-client/downloads/detail?name=gdata-2.0.14.tar.gz


of course python 2.5 or later is required to get the xml parser and the basic language support.

No comments:

Post a Comment