[Info-vax] Some questions on software for VMS 7.3 VAX

Craig A. Berry craigberry at nospam.mac.com
Thu Jan 21 12:59:37 EST 2016


On 1/21/16 11:39 AM, abrsvc wrote:
>> How do I delete everything under local? the set file/prot worked but the
>> delete [.local]*.*;* comes back with a lot of messages about various
>> directories that aren't empty.
>>
>> --
>
> I you are intending o delete the entire tree, execute the following command multiple times ignoring the "not empty messages".
>
> Delete [.local...]*.*;*
> This part=====^^^  will tell DCL to walk down the directory tree and delete on the way.  As the lowest branch becomes empty, the directory files (.DIR) will be deleted until the command will yield no files to be deleted.

or for the impatient:

$ set process/priv=(bypass,sysprv)
$ mcr dfu delete/tree/directory/nolog local.DIR

v8.4 also has DELETE/TREE, but it's much slower than DFU.




More information about the Info-vax mailing list