6.2.8.11 rmfile

Delete a file.

Purpose

The rmfile command deletes a file in an Exascale vault.

Syntax

rmfile file-name [ --force ] [ --nowait ] [ --with-snapshots ]

Command Options

The options for the rmfile command are:

  • file-name: 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 unlocked snapshots linked to the specified file. Snapshots are locked if the snapLockExpiryTime attribute is set to a future date and time. Locked snapshots are skipped and remain unchanged.

Examples

Example 6-116 Delete a File

The following example deletes the file at @my-data/file1.

@> rmfile @my-data/file1