7.2.17 rm
Remove Exascale files.
Syntax
rm [ -f ] [ -i ] [ -v ] file-name
[{ -w | --wallet } wallet-location ]
[{ -T | --trace } trace-level ]
[{ -j | --json } [ --compact ]]
Command Options
The options for the rm
command are:
-
file-name: Specifies the files being removed.
You can use a wildcard (
%
) in the file-name to specify multiple files. -
-f
: Forces removal of open files. -
-i
: Interactively prompt for confirmation before deleting a file. -
-v
: Print the names of the files being deleted. -
-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.
Examples
Example 7-31 Delete an Exascale file
The following example deletes @my-data/my-file
.
$ xsh rm @my-data/my-file
Related Topics
Parent topic: XSH Command Reference