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 (Current Working Directory) with TMP in their name:
To delete all directories under the CWD with names beginning
with TMP, and all objects below these
directories:
To delete all directories under the CWD with names ending with TMP, and all objects below these directories:
When wildcards are specified with dir_name, then RD access is required to the parent directory of each wildcard component. If the purge is multilevel, then TD, RD, and DD accesses are necessary to each directory below dir_name.