to Picasa Web Albums. After some searches I found this post:
http://wanted.eu.org/en/computers/linux/uploading_photos_to_picasaweb
The script provided there did the thing for me, but it was creating a new
album every time it was used. Looking through code give me some ideas on
how to implement some more features. So I installed gdata-python-client
from Google and write some code from the scratch.
Here's what I've got:
Usage: upload2picasa.py [options] albumname filename1.jpg filename2.jpg
...Uploads jpeg files to Google's Picasa Web Albums service.
Running for the first time will ask for login/password and save them
to ~/.google_auth (be sure to check its access rights, password is
stored as plain text).Options:
-h, --help show this help message and exit
-i, --init call in init mode, asking login/password
-l, --list list user's albums
-p, --public create album as public (private by default)
-n, --new create new album (even if the album w/same name exists)
This is a script for uploading photos to Picasa Web Albums, with some
handy features. For more information including some examples, visit it's
page at Google Code: http://code.google.com/p/upload2picasa
No comments:
Post a Comment