PURGEDIR

 

PURGE ALL FILES BELOW AND INCLUDING dir

 

name? (ALL/NO)_

 

 

Valid responses are ALL, NO, and N (case insensitive).

 

 

 

 

 

 

Note

If dir

 

name is long, the prompt ma y wrap around. If dir

 

name

 

 

 

is an MPE name, it is fully quali￿ed in the prompt message.

 

If the YES option is selected, then the purge is automatically

 

con￿rmed without a prompt.

 

 

 

 

 

 

 

 

 

The SHOW option causes eac h purged ￿le and directory name to be displa yed on

 

$STDLIST . For example:

d

PURGEDIR ./mydir ;TREE ;SHOW

 

a

 

 

 

 

 

 

 

 

 

./mydir/abc

 

 

 

./mydir/dir1/dir2/file1

 

 

 

./mydir/dir1/dir2/file2

 

 

 

./mydir/dir1/dir2

 

 

 

./mydir/dir1/f1

 

 

 

./mydir/dir1/f2

 

 

 

./mydir/dir1

 

 

 

./mydir/file1

 

 

 

./mydir

 

 

c

 

 

 

b

 

 

 

The SHOWERRORS option causes any error that prev ents an object from being deleted to be displa yed to $STDLIST after the object name is displa yed. Object names are only displa yed if an error occurs.

Examples

The following examples purge dir1, which is empty.

d

PURGEDIR /MYACCT/MYGRP/dir1

 

a

 

 

 

c

 

 

 

b

 

 

 

MPE/iX Commands 2-189