mwunsch / tumblr

Command line interface and Ruby client for the Tumblr API (v2)
MIT License
282 stars 43 forks source link

tumblr post can't update post #37

Open rrthomas opened 11 years ago

rrthomas commented 11 years ago

With tumblr-rb 1, I used to be able to revise a post. I see I can now do this with tumblr edit, but the trouble with that is that it doesn't let me update from a version on my computer (as far as I can see). Hence, I can edit the post, but then if I want to keep a copy on my computer, I would have to back it up manually.

Previously, I could add a post-id to a posted article, and rerunning "tumblr post" on that file would update the existing post; now, it makes a new post.

hkdobrev commented 11 years ago

In addition tumblr edit is not working similarly to tumblr post. When I have a file which I want to post I can just tumblr post filename.md, but if I have edited it tumblr edit POST_ID filename.md is not working.

I think tumblr pipe is obsolete, but every command should accept piping. Also something like tumblr edit POST_ID < filename.md should work.