Hacker News new | ask | show | jobs
by Khroma 5631 days ago
That seems kind of unsafe to me, since it's all keeping it in one file.
1 comments

How is it unsafe? (asking because I don't know, not to contradict)
One accidental command and every entry is lost, not just one entry or the most recent. Adding a "git commit journal.txt; git push offsite master" or something similar to your journal script will alleviate that risk.

Edit: you also don't have file timestamps to show when an entry was actually written, in case that matters to you.