Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. tualatrix created this gist Jan 8, 2014.
    13 changes: 13 additions & 0 deletions download_picasa_photos_and_upload_to_flickr.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/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