Reading/evaluating several files at once? #176
-
I would like to use one file per month, but also to get a report over a longer period. It would be cool, if klog would support not only a single file, but several. Maybe selected by a placeholder like: Thanks for klog! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If your shell supports glob patterns, then this should work out of the box, e.g.: This doesn’t work with bookmarks, however. A bookmark must be a single file, because it’s not just meant for reading, but also for writing, e.g. via |
Beta Was this translation helpful? Give feedback.
If your shell supports glob patterns, then this should work out of the box, e.g.:
klog report **/*.klg
orklog total 2022-*.klg
.This doesn’t work with bookmarks, however. A bookmark must be a single file, because it’s not just meant for reading, but also for writing, e.g. via
klog start @work
. If the bookmark was a file pattern that resolved to multiple files, it would be ambiguous what should happen then.