Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tualatrix/8317586 to your computer and use it in GitHub Desktop.
Save tualatrix/8317586 to your computer and use it in GitHub Desktop.
Download photos from Google Picasa and upload to Flickr, the album name will be read from album_list.txt
#!/bin/bash
while read album
do
echo -e "Will download album $album"
google picasa get "$album" .
pushd "$album"
echo -e "Start to upload $album to Flickr"
find -type f|sort|xargs -I{} flickr_upload {}
popd
done < album_list.txt
echo 'Upload is done' | sendmail your@mail.address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment