Live data from Hacker News

Great Men Keep Journals

artofmanliness.com

71–73 of 73 posts

Re: Great Men Keep Journals

#72
Are there any good command-line journaling applications out there? I'm thinking about writing something simple that would automatically organize entries into separate monthly files, add date headers, store everything in version control, etc.

Googling for "command line journal", unfortunately, is not the right way to search for such a beast...

Re: Great Men Keep Journals

#73
post #56
post #11

I just wrote myself a little script. Let's see, if it sticks ... $ cat bin/journal #!/bin/bash FILE=${HOME}/Dropbox/journal.txt echo >>${FILE} date >>${FILE} echo >>${FILE} vim + ${FILE}

I'm doing something similar. I found a cool vim command, ':r !date' for the current date. I'm using hg mercurial in addition to get additional backup security and logging. : P I also decided host the repo at bitbucket. This will let me have 'offsite' backups and the ability to pull my journal whenever I have a computer and internet... which is always.

"Pro-tip": you can also do :.!date
Post reply on HN