PURGEDIR

The following examples sho w how to use wildcards with PURGEDIR .

To delete a directory and the ￿les or directories it con tains using wildcards: Use the PURGEDIR command. For example:

:purgedir /MYACCT/MYGRP/@

This example deletes all directories rooted to /MYACCT/MYGRP .

To delete all empty directories under the CWD (Curren t Working Directory) with TMP in their name:

:purgedir @TMP@

To delete all directories under the CWD with names beginning with TMP, and all objects belo w these directories:

:purgedir TMP@; TREE

To delete all directories under the CWD with names ending with TMP, and all objects below these directories:

:purgedir ./@TMP/

When wildcards are speci￿ed with dir name , then RD access is required to the parent directory of each wildcard componen t. If the purge is m ultilevel, then TD, RD, and DD accesses are necessary to eac h directory below

dir name .

Related Commands

CHDIR

LISTFILE

NEWDIR

PURGE

PURGEACCT

PURGEGROUP

LISTDIR (UDC)

FINDDIR (UDC)

MPE/iX Commands 2-193