Bash Tweet Script
Post date: 09-Sep-2010 04:29:31
A script I found on the internet for tweeting from bash.
Original Link: http://code-cookbook.com/entry/75/bash-script-to-post-to-twitter
# Login information.
# Check message length.
if [ ! -n "$1" ]; then
echo "Message not long enough"
# Check message length again.
if [ $len -gt $maxlen ]; then
echo "Your message was longer than 140 characters...";
# Post to Twitter.
result=`curl -u $USERNAME:$PASSWORD -d status="$message" $URL`
Note: 9/September/2010 - This worked before twitter changed to OAuth for tweeting. So it's pretty much useless now.