Upload to picasa from command line using googlecl

As GoogleCL brings Google services to the command line. I tried this for the fun of it

<

p>

Upload your pics to Picasa from command line!

sudo apt-get install python-gdata
sudo dpkg -i <a href="http://googlecl.googlecode.com/files/googlecl_0.9.5-1_all.deb" title="http://googlecl.googlecode.com/files/googlecl_0.9.5-1_all.deb">http://googlecl.googlecode.com/files/googlecl_0.9.5-1_all.deb</a> 
for pic in *.jpeg; do
google picasa post --title="Trip to Mars" $pic; 
done

Specially for Nikon users

sudo apt-get install ufraw-batch
cd ~/Pictures/Nikon
ufraw-batch --out-type=jpeg *.NEF ; mkidr nef ; mv *.nef nef
for pic in *.jpeg; do
title=$(basename $pic)
google picasa post --title="Trip to Moon" $pic; 
done

or use the One-liner
<b>ufraw-batch --out-type=jpeg *.NEF ; mkidr nef ; mv *.nef nef;google picasa create --album "Trip to Moon" *.jpg</b>

Backup all your data to any album you wish, --title Album name
<b>find . -iname "*.jpeg" -exec google picasa --title ND5k post {} + </b>

Read More : Googlecl
View my pics from my Nikon D5k here

You might like this : Bash Batch image resize or may be even this integrate google calendar with evolution and gnome clock and this for sure SURFRAW

Share this