Google Command Line Tools (googlecl) picasa script
I am in the process of migrating my Gallery install to Google Picasa (or Google+ Photos, if you will). I love that fact that I can run Google Command Line Tools on my linux box to export my pictures, but I got tired of typing.
Google Command Line Tools (googlecl) picasa script
I had to type this for every album:
2013-March> google picassa create –title “2013 March” –tags “2013, March” *.jpg
2013-March> google picasa post -title “2013 March” –tags “2013, March” *.JPG
Then I got to thinking, how about a simple shell script to run Google Command Line tools and fill in the values I needed. Genius, sheer genius, or Lazy, sheer lazy….
#!/bin/sh
MON=”$1″
M=1
for X in January February March April May June July August September October November December
do
[ “$MON” = “$X” ] && break
M=`expr $M + 1`
done
#echo “Month number is $M”
google picasa create –title “$2-$M $1” –tags “$2, $1” *.jpg
google picasa post –title “$2-$M $1” –tags “$2, $1” *.JPG
# End of script
Filed under: Scripts - @ April 1, 2013 1:25 am
Tags: cli, command line, googlecl, picasa