Create a gist now

Instantly share code, notes, and snippets.

#!/bin/bash
TEXT=$1
if [ -z "$TEXT" ]; then
echo "Usage: android-paste TEXT"
exit
fi
( echo sms send 5555555555 $TEXT; sleep 1; ) | telnet localhost 5554 &> /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment