---
name: "arbtt-import"
section: "1"
platform: "linux"
package: "arbtt"
version: "0.10.2-0.2"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/arbtt-import"
---

# arbtt-import(1)

imports dumped arbtt data samples

## NAME

arbtt-import - imports dumped arbtt data samples

## SYNOPSIS

**arbtt-import** \[OPTION...\]

## DESCRIPTION

**arbtt-import** reads data from standard input and adds the entries to the logfile. It supports the Show format as well as the JSON format, and can be used in a streaming fashion (i.e. it will write entries as they are read from standard input).

By default, this program completely overrides the existing file, therefore it will refuse to work if the log file already exists. If you want to overwrite a file, please delete it before running **arbtt-import**. If you want to extend an existing file, use the **--append** option.

## OPTIONS

- **-h**, **-?**, **--help**

  shows a short summary of the available options, and exists.

- **-V**, **--version**

  shows the version number, and exists.

- **-f** *FILE*, **--logfile** *FILE*

  logfile to use instead of ~/.arbtt/capture.log

- **-a**, **--append**

  append the log file, if it already exists

- **-t** *FORMAT*, **--format** *FORMAT*

  format to use, where *FORMAT* is one of show (the default) or JSON. The JSON format can either be a list of records (as dumped by [arbtt-dump(1)](/arbtt-dump/1.md)), or just one record after another (useful in streaming mode).

## FILES

\~/.arbtt/capture.log

binary file, storing the arbtt data samples

## SEE ALSO

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

## 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
