7.2.26 xattr
List and modify extended attributes for files and vaults.
Syntax
xattr { -a | --add } name xname xval
[{ -w | --wallet } wallet-location ]
[{ -T | --trace } trace-level ]
[{ -j | --json } [ --compact ]]
xattr { -d | --delete } name xname
[{ -w | --wallet } wallet-location ]
[{ -T | --trace } trace-level ]
[{ -j | --json } [ --compact ]]
xattr { -l | --list } name [ -v | --verbose ] [ -u | --unlimited ]
[{ -w | --wallet } wallet-location ]
[{ -T | --trace } trace-level ]
[{ -j | --json } [ --compact ]]
Command Options
The options for the
xattr
command are:
-
name: Specifies the file or vault that is the subject of the command.
-
xname: Specifies the name of the extended attribute that is the subject of the command.
-
xval: Specifies the value of the extended attribute.
-
-a
,--add
: Adds (or updates) an extended attribute to the specified file or vault. -
-d
,--delete
: Deletes an extended attribute from the specified file or vault. -
-l
,--list
: Displays extended attributes associated with the specified file or vault. -
-v
,--verbose
: Displays extended attributes with size information. -
-u
,--unlimited
: Displays complete extended attribute values. If not specified, the output of extended attribute values is limited to 80 characters. -
-w
,--wallet
: Optionally specifies the path to the Exascale wallet directory. -
-T
,--trace
: Optionally enables tracing, with the trace level (trace-level) set to1
(minimum tracing),2
(medium tracing), or3
(maximum tracing). If the trace level is not specified, then minimum tracing is enabled by default.The trace file is written to the first accessible location in the following list:
-
If the
$ADR_BASE
environment variable is set:$ADR_BASE/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
/var/log/oracle/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
/tmp/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
-
-
-j
,--json
: Displays the output in JSON format. -
--compact
: Displays JSON formatted output in a compact format, without white space and line breaks.
Related Topics
Parent topic: XSH Command Reference