googleコマンドを使ってPicasaウェブアルバムに複数ファイルをアップロード

参考:Manual - googlecl - How to use GoogleCL. - Command line tools for the Google Data APIs - Google Project Hosting

Picasa
Common options:

owner: Owner of the albums you want to deal with. This will work with all tasks but create and delete. For example, to download bob's album, add --owner bob to the "get" task. To post to your friend's album that she shared with you, add --owner your_friend to the "post" task.
Tasks:

create: Create an album. create --title "Summer Vacation 2009" --tags Vermont ~/photos/vacation2009/*
delete: Delete photos or albums. delete --title "Stupid album"
get: Download photos. get --title "My Album" /path/to/download/folder
list: List photos or albums. list title,url-direct --query "A tag"
post: Add photos to an album. post --title "Summer Vacation 2008" ~/old_photos/*.jpg
tag: Tag photos. tag --title "Album I forgot to tag" --tags oops


Link: http://goo.gl/Rsd91

 書式の説明がちょっとわかりづらいのですが、次のようにやるとうまくいきました。新規にアルバムを作成し、タグ付まで行っています。コマンドラインなのでファイル名入力の補完やファイルファイルグロブ による指定も出来ます。コマンドライン操作の本領発揮という感じです。

ak@G31M-U1104:~/Pictures % google picasa create --title "死刑に対する朝日の見識 :元検ブログのコメント" --tags "モトケン" ./sikeinitaisuru-motoken_*
Loading file ./sikeinitaisuru-motoken_1.jpeg to album 死刑に対する朝日の見識:元検ブログのコメント
Loading file ./sikeinitaisuru-motoken_2.jpeg to album 死刑に対する朝日の見識:元検ブログのコメント
Loading file ./sikeinitaisuru-motoken_3.jpeg to album 死刑に対する朝日の見識:元検ブログのコメント
Loading file ./sikeinitaisuru-motoken_4.jpeg to album 死刑に対する朝日の見識:元検ブログのコメント
Loading file ./sikeinitaisuru-motoken_5.jpeg to album 死刑に対する朝日の見識:元検ブログのコメント
Loading file ./sikeinitaisuru-motoken_6.jpeg to album 死刑に対する朝日の見識:元検ブログのコメント
Loading file ./sikeinitaisuru-motoken_7.jpeg to album 死刑に対する朝日の見識:元検ブログのコメント
Created album: https://picasaweb.google.com/114099790846205945578/PNzuoJ?authkey=Gv1sRgCKycpICq0uiN0gE
ak@G31M-U1104:~/Pictures % 

 アルバムのURLまで返してくれるんですね。ありがたいです。
Created album: https://picasaweb.google.com/114099790846205945578/PNzuoJ?authkey=Gv1sRgCKycpICq0uiN0gE