Skip to content

Instantly share code, notes, and snippets.

@slackorama
Created January 4, 2010 07:42
Show Gist options
  • Save slackorama/268386 to your computer and use it in GitHub Desktop.
Save slackorama/268386 to your computer and use it in GitHub Desktop.
#!/bin/sh
# rtm - simply use twitter to send off a direct message to rtm to add a task
username=$1
shift
password=$2
shift
curl -s --basic --user "$username:$password" --data-ascii \
"status=`echo d rtm $@|tr ' ' '+'`" \
"http://twitter.com/statuses/update.json" > test.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment