Deletes a specified directory and its contents, or a hierarchy of
directories and their contents.
SYNOPSIS
DELETE SUBTREE tree-name[...]
[EXCLUDE DIRECTORY directory-name]
Argument
tree-name
The name of the topmost directory in the subtree. The recursion
notation causes the change to additionally apply to all child
directories and their contents. When used without the optional
recursion notation, the change applies only to the specified
directory. This then behaves just like the delete directory command
in that the directory must be empty to be deleted.
directory-name
The full name of a directory that you want to exclude from deletion.
When you exclude a directory, its parent directory is preserved.
Description
This command deletes the specified directory and its contents,
or a hierarchy of directories and their contents. Before using
this command, you must delete all read-only replicas and all
clearinghouse object entries in any of the affected directories.
You can use the optional recursion notation (...) to additionally
delete all child directories and their contents. The optional
exclude directory argument lets you specify one or more directories
to exclude from deletion. Multiple directories are specified in the
following format:
exclude directory directory-name, directory directory-name,
directory directory-name
ACCESS RIGHTS
You must have read, write, and delete access to the directory you
specify as well as the contents of the directory. If you use the
command recursively, you also need read, write, and delete access
to all child directories (and their contents) of the directory you
specify.
Additional Information:
explode
extract