Skip to main content

REMOVE STAGE FILES

Removes files from a stage.

Syntax

REMOVE { userStage | internalStage | externalStage } [ PATTERN = '<regex_pattern>' ]

Where:

internalStage

internalStage ::= @<internal_stage_name>[/<file>]

externalStage

externalStage ::= @<external_stage_name>[/<file>]

PATTERN = 'regex_pattern'

A regular expression pattern string, enclosed in single quotes, filters files to remove by their filename.

Examples

This command removes all the files with a name matching the patten 'ontime.' from the stage named playground*:

REMOVE @playground PATTERN = 'ontime.*'