1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
% tss2_list(1) tpm2-tools | General Commands Manual
%
% APRIL 2019
# NAME
**tss2_list**(1) -
# SYNOPSIS
**tss2_list** [*OPTIONS*]
[common fapi references](common/tss2-fapi-references.md)
# DESCRIPTION
**tss2_list**(1) - This command enumerates all objects in the FAPI metadata store in a given a path.
# OPTIONS
These are the available options:
* **-f**, **\--force**:
Force overwriting the output file.
* **-p**, **\--searchPath**=_STRING_:
The path identifying the root of the search. Optional parameter. If omitted,
all entities will be searched.
* **-o**, **\--pathList**=_FILENAME_ or _-_ (for stdout):
Returns the colon-separated list of paths. Optional parameter. If omitted,
results will be printed to _-_ (stdout).
[common tss2 options](common/tss2-options.md)
# EXAMPLES
## List all entities and print results to stdout
```
tss2_list
```
## List all entities under the HS path and print results to file
```
tss2_list --searchPath=HS --pathList=output.file
```
# RETURNS
0 on success or 1 on failure.
[footer](common/footer.md)
|