Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That seems kind of unsafe to me, since it's all keeping it in one file.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: