3 ms·
> ... and archive for consolidating notes into monthly archive files. Why not just perform the consolidation automatically (the first time textnote is executed
by jlgaddis 6y ago
> ... and archive for consolidating notes into monthly archive files.
Why not just perform the consolidation automatically (the first time textnote is executed after the first of the month), allowing you to do away with the subcommand?
Or perhaps make automatic consolidation configurable / optional (along with any desired default options)?
- dankco 6y agoOP 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!
- dankco 6y agoI also realized that automating the archival process could be done using a cron job or something similar to call textnote's archive command.