Tag: google

  • Google URL shortener script

    Maybe it’s no longer working #!/bin/bash # Google url shortener bash script # For information about the app: # http://ggl-shortener.appspot.com/instructions/ app=’http://ggl-shortener.appspot.com/?url=’ url=”$1″ protocol=`echo “$1” | sed -e “/^http:\/\//g”` if [ -z “$1” ]; then echo -e “you need to pass the url through an argument”; echo -e “e.g. `basename $0` http://url”; else if [ !…