qmedia deletecontents

Description

This command deletes the contents of a specified media and moves them into the specified scratch pool.

In case of an error, an error code and description are displayed as: "deletecontents: Error errorcode: errordescription"

Usage

qmedia deletecontents -b $[barcode] -srp $[scratchpool] [-tf $[tokenfile]] [-tk $[token]] [-h]

Options

-b

Barcode

-srp

Scratch pool

-tf

Reads token from a file

-tk

Token string

-h

Displays help

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Example

Delete the contents of the media with 100101WW barcode and move to scratch pool Scratchpool_1.

E:\commandline>qmedia deletecontents -b $[100101WW] -srp $[Scratchpool_1]
×

Loading...