#!/bin/bash # # Twitter Update # # Requires: cURL http://curl.haxx.se/ # By Guillermo Antonio Amaral Bastidas < gamaral@guillermoamaral.com > # ### CONFIGURE ### declare -rx USERNAME="YOUR_USERNAME" declare -rx PASSWORD="YOUR_PASSWORD" ### DONT MODIFY ### declare -x STATUS="$@" curl 'http://twitter.com/statuses/update.xml' \ -u ${USERNAME}:${PASSWORD} \ -d "status=${STATUS}" > /dev/null 2> /dev/null # EOF