Blog /Your History in 140 Characters

July 17, 2009 01:01 +0100  |  Programming Software Twitter 0

Wil Wheton posted to Twitter today a request for an easy way to fetch all of one's tweets and store them locally. Someone might want to do that if they want a personal archive, or if they're interested in porting their data over to a Free implimentation like Laconica. Whatever your reasoning, here's a quick and dirty way to do it:

for i in {1..999}; do
  curl -s "$i" | grep '<text>' | sed -e 's/^ *<text>\(.*\)<\/text>/\1/'
  sleep 2

Just hit "ctrl-c" when you hit your first post ever.


Post a Comment of Your Own

Markdown will work here, if you're into that sort of thing.