quick post and publish scripts for octopress
The old to post on Octopress is slow with much code to input, so I
need quickly to post what I want. I searched on Google and the do
have someone catch the same idea~
I mainly referred to
https://codewall.com . However, I’d like to separate the blog_post and publish
processes. So I updated the scripts as below:
1 |
|
That is for post which is saved as blog_post and chmod +x blog_post
.
1 |
|
That is for publish which is also saved as executable script as
above. I moved them to the /usr/local/bin
directory, where I can
directly call from terminal by tying their names.
That’s all.