6.2.8.10 rmfile

Delete a file.

Purpose

The rmfile command deletes a file in an Exascale vault.

Syntax

rmfile filename [ --force ] [ --nowait ] [ --with-snapshots ]

Command Options

The options for the rmfile command are:

  • filename: Identifies the file to be deleted.

  • --force: Deletes the specified file even if it is in use.

  • --nowait: Instead of waiting for the command to finish, the command returns immediately while the operation completes in the background.

  • --with-snapshots: Also deletes snapshots associated with the specified file.

Examples

Example 6-104 Delete a File

The following example deletes the file at @MYDATA/file-1.

@> rmfile @MYDATA/file-1