Hacker News new | ask | show | jobs
by dankco 1952 days ago
OP here, thanks for your suggestion! I considered doing exactly that: automatic archiving. The problem I see is that I want archiving to also "clean up" (that is, delete) the daily notes that it has consolidated and I worry about performing destructive actions such as deletes on an automated basis. For this reason, I chose to leave it in the users hands. I also worried about the possibility (albeit unlikely) for a race condition where a file you are manually opening is deleted out from under you. I'd love to hear any thoughts you might have though in light of these concerns. I'm definitely open to adapting the tool. Appreciate your feedback!
1 comments

I also realized that automating the archival process could be done using a cron job or something similar to call textnote's archive command.