ARBTT-DUMP(1)

πŸ“¦
version 0.10.2 Β· 2 versions
, in ubuntu jammy

πŸ’– ARBTT-DUMP πŸ’–

okay bestie, welcome to arbtt-dump from the arbtt manual β€” it's giving "let me show you my diary" but the diary is a log of literally everything you did on your computer. sit down, grab a strawberry πŸ“, we're doing this.


✨ NAME ✨

arbtt-dump β€” dumps arbtt data samples 🫢


🌸 SYNOPSIS 🌸

arbtt-dump [OPTION...]

πŸ¦‹ DESCRIPTION πŸ¦‹

So arbtt-dump reads the data samples that arbtt-capture(1) recorded, and then it writes them out to standard output in an ascii based format. that's it. that's the whole job. no cap. πŸ’…


πŸ’œ OPTIONS πŸ’œ

  • -h, -?, --help β€” shows a short summary of the available options, and exists. (yes the "and exists" is real, it's iconic, don't @ me πŸ‘‘)
  • -V, --version β€” shows the version number, and exists. ⭐
  • -f FILE, --logfile FILE β€” the logfile to use instead of ~/.arbtt/capture.log. pick your own adventure bestie πŸŽ€
  • -t FORMAT, --format FORMAT β€” the dumping format to use, where FORMAT is one of human (that's the default, no pressure), show, or JSON. it's case in-sensitive, so scream it in whatever case you want, she'll hear you πŸ”₯
  • -l NUMBER, --last NUMBER β€” dump only the last NUMBER of samples. lowkey the "just the recent lore" button 🧚

🌈 FILES 🌈

  • ~/.arbtt/capture.log β€” binary file, storing the arbtt data samples. it's giving mystery box but make it data πŸ’€

πŸŽ€ FORMATS πŸŽ€

πŸ’… Human

This format is intended for human inspection, but not for further processing. Hence, it may change in new versions of arbtt without notice. (fr fr, do not parse this, it will betray you 😭) Example output:

2013-06-20 14:53:50 (48ms inactive):
    ( ) Navigator:      arbtt-dump - Iceweasel
    ( ) gnome-terminal-server: jojo@kirk:~/projekte/programming/arbtt/doc
    (*) gvim:           arbtt.xml + (~/projekte/programming/arbtt/doc) - GVIM2

The line with a star indicates the currently active window. ⭐ main character window energy, honestly.

πŸ¦‹ Show

This is the default serialization format of Haskell's Show type class, one entry per line. This can be useful if the data is to be processed by further Haskell code. Example output, with indentation added manually:

TimeLogEntry
    { tlTime = 2013-06-20 14:53:50.957763 UTC
    , tlRate = 60000
    , tlData = CaptureData
        { cWindows =
            [ (False,"arbtt-dump - Iceweasel","Navigator")
            , (False,"jojo@kirk:~/projekte/programming/arbtt/doc","gnome-terminal-server")
            , (True,"arbtt.xml + (~/projekte/programming/arbtt/doc) - GVIM2","gvim")
            ]
        , cLastActivity = 48
        }
    }

🌸 JSON

For interoperability, arbtt supports dumping its data to JSON, which can easily be parsed by many different programming languages. Some level of backward-compatibility will be provided, as far as possible. Default output, again with indentation and spacing added manually:

[ ...,
  { "windows": [
      { "program": "arbtt-dump - Iceweasel",
        "title": "Navigator",
        "active": false},
      { "program": "jojo@kirk:~/projekte/programming/arbtt/doc",
        "title":" gnome-terminal-server",
        "active": false},
      { "program": "arbtt.xml + (~/projekte/programming/arbtt/doc) - GVIM2",
        "title": "gvim",
        "active":true
      }],
    "inactive": 48,
    "date": "2013-06-20T14:53:50.957Z",
    "rate": 60000},
  ...
]

πŸ‘‘ SEE ALSO πŸ‘‘

See the arbtt manual for more information and the arbtt hackage page[1] for newer versions of arbtt. iykyk 🫢


πŸ’– AUTHORS πŸ’–

  • Joachim Breitner <mail@joachim-breitner.de> β€” Main author of arbtt πŸ‘‘
  • Sergey Astanin <s.astanin@gmail.com> β€” Contributor
  • Martin Kiefel <mk@nopw.de> β€” Contributor
  • Muharem Hrnjadovic <muharem@linux.com> β€” Contributor
  • Markus Hauck <markus1189@gmail.com> β€” Contributor
  • Thomasz MiΔ…sko <tomasz.miasko@gmail.com> β€” Contributor
  • Waldir Pimenta <waldyrious@gmail.com> β€” Documentation writer ✨
  • Gwern Branwen <gwern@gwern.net> β€” Documentation writer ✨
  • Paolo G. Giarrusso <p.giarrusso@gmail.com> β€” Contributor
  • Michal J. Gajda <migamake@migamake.com> β€” Contributor

⭐ NOTES ⭐

  1. arbtt hackage page http://hackage.haskell.org/package/arbtt

this whole page came from the arbtt manual, dated 04/03/2022, and it's the ARBTT-DUMP(1) page bestie. that's the sign-off. go dump your samples. slay. πŸ’…πŸŒˆβœ¨
πŸ“¦ where this page comes from