Created
July 25, 2013 10:06
-
-
Save gnuyoga/6078423 to your computer and use it in GitHub Desktop.
Google picasa command line backup script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# to install | |
# python 2.7 above | |
# install http://code.google.com/p/gdata-python-client/ | |
# install http://code.google.com/p/googlecl/downloads/list | |
# | |
# once the above pacakges are installed you should be able to run the following | |
# you will have to authorize this machine before you can sucessfully run the same. | |
google picasa list-album > FILENAME | |
# | |
DONE=false | |
until $DONE ; | |
do | |
read || DONE=true | |
# google picasa list-album give out the "Album Name", Album URL | |
ALBUM_NAME=`echo $REPLY | awk -F, '{print $1}' | |
google picasa get $ALBUM_NAME --dest ~/picasaweb_photo/ | |
# process $REPLY here | |
done < FILENAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment