Created
January 8, 2014 14:29
-
-
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
This file contains 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 | |
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 [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment