TIMEW-EXPORT(1)
π
TIMEW-EXPORT(1) β the timew-export girlies' guide
okay bestie, welcome to timew-export, straight out of the timew User Manuals β¨ this is the one that dumps all your tracked time out as JSON and honestly? it's giving data-liberation, it ate π
πΈ NAME πΈ
timew-export β export tracked time in JSON π
β¨ SYNOPSIS β¨
timew export [ <id>... | ([<range>] [<tag>...]) ]
so you either hand it a bunch of ids, orrrr you give it a range and/or *tag*s β pick a lane, it's either/or, no cap π«Ά
π DESCRIPTION π
Bestie. It exports all the tracked time in JSON format. That's the whole vibe π
Now, if you don't want everything (main character energy but make it selective), you can supply either:
- a list of interval IDs π
- or a range and/or tag filter (go peep
timew-ranges(7)andtimew-tags(1)for the deets on those) β this way you only export a subset of intervals π¦
The data comes out as a JSON array of interval objects, and each one contains the interval's start time, end time, current id, tags, and annotation if present. Like, only if it's there, yk? π
π₯ EXAMPLES π₯
β Export all intervals
Calling the export command with no arguments at all exports all tracked intervals in JSON format, periodt:
$ timew export
[
{"id":2,"start":"20231001T103000Z","end":"20231001T120000Z","tags":["work"],"annotation":"Project work"},
{"id":1,"start":"20231001T090000Z","end":"20231001T100000Z","tags":["work"],"annotation":"Morning meeting"},
]
In this example there are literally only two intervals present in the database. And the output is sorted by start time, with the oldest interval first β so the oldest one is the main character, walking in first π
β Export intervals filtered by range and tag
$ timew export from 2016-01-01 for 3wks tag1
...
β Export intervals by their ids
$ timew export @1 @3 @7
...
ngl the ... in those last two examples is exactly what the manpage shows β no extra output given, so don't come for me, I'm just the messenger π
π sign-off π
that's the whole page, bestie! brought to you by timew version 1.9.1, dated 2025-11-02 β go forth and export your little heart out, you're doing amazing sweetie πβ¨π¦
π¦ where this page comes from
- ubuntu resolute: timewarrior 1.9.1+ds.1-1 Β· MIT
- ubuntu stonking: timewarrior 1.9.1+ds.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms