... | @@ -231,7 +231,8 @@ The command accepts an optional `--imported-only` switch. If specified, the comm |
... | @@ -231,7 +231,8 @@ The command accepts an optional `--imported-only` switch. If specified, the comm |
|
|
|
|
|
## `get`
|
|
## `get`
|
|
|
|
|
|
After you have [`list`](#list)ed data, depending on whether data was inlined or not, you have IDs for data entries. You can retrieve the data as follows:
|
|
When the [`pepcli list`](#list) command has produced IDs referring to data, the associated data can be retrieved using the `pepcli get` command:
|
|
|
|
|
|
```
|
|
```
|
|
pepcli get -t <ticket file> -i <identifier> -o <output file>
|
|
pepcli get -t <ticket file> -i <identifier> -o <output file>
|
|
```
|
|
```
|
... | @@ -243,6 +244,7 @@ The flags are: |
... | @@ -243,6 +244,7 @@ The flags are: |
|
- `-o` The file to write the output to. `-` indicates stdout. This is the default.
|
|
- `-o` The file to write the output to. `-` indicates stdout. This is the default.
|
|
- `-m` Also retrieve the metadata and write it to the given file. `-` indicates stdout. Default is to not retrieve metadata. If you do not know what you would need metadata for, then you probably don't need it.
|
|
- `-m` Also retrieve the metadata and write it to the given file. `-` indicates stdout. Default is to not retrieve metadata. If you do not know what you would need metadata for, then you probably don't need it.
|
|
|
|
|
|
|
|
Note that the `pepcli get` command is not capable of data re-pseudonymization. Data from columns requiring such processing should be retrieved using [`pepcli pull`](#pull) instead.
|
|
|
|
|
|
## `list`
|
|
## `list`
|
|
|
|
|
... | @@ -267,7 +269,7 @@ Important flags are: |
... | @@ -267,7 +269,7 @@ Important flags are: |
|
- `--no-inline-data` Never inline data
|
|
- `--no-inline-data` Never inline data
|
|
- `-g` Data MAY show up grouped, when it belongs to the same participant. By default this depends on the order in which data comes in, so this grouping is not guaranteed. Use `-g` to force grouping of data. This may impact performance.
|
|
- `-g` Data MAY show up grouped, when it belongs to the same participant. By default this depends on the order in which data comes in, so this grouping is not guaranteed. Use `-g` to force grouping of data. This may impact performance.
|
|
|
|
|
|
Note: Shells use `*` for globbing. We do not want this behavior, so make sure you escape it with a backslash or double quotes when invoking pepcli from e.g. bash.
|
|
Note that the `pepcli list` command is not capable of data re-pseudonymization. Data from columns requiring such processing should be retrieved using [`pepcli pull`](#pull) instead.
|
|
|
|
|
|
## `pull`
|
|
## `pull`
|
|
|
|
|
... | | ... | |