Post to Tumblr via Bash using Curl
Quick example on how to use Tumblr API to update own account from the command line.
There are many other options as it is possible to post links, image etc…just change the type on what you need as described in Tumblr API.
#!/bin/bash
#
# Your Datas
#
TMB_USER='somefoo@somwhere.com';
TMB_PASS='somesecret';
#
# What to Write
#
TMB_TYPE='regular';
TMB_TITLE='The post title';
TMB_CONTENT='This is the body of the post.';
#
# Updating
#
curl -s \
-o /dev/null \
-d "email=$TMB_USER&password=$TMB_PASS&type=$TMB_TYPE&title=$TMB_TITLE&body=$TMB_CONTENT&generator=Bash" \
"http://www.tumblr.com/api/write"