6.0b;dlt (delete_tree), revision 6.0b, 83/03/16
DLT (DELETE_TREE) -- Delete a tree.
usage: DLT pathname... [-L | [-LD] [-LF] [-LL] ] [-F] [-DU] [-PR pathname...]
{CL}
FORMAT
DLT pathname ... [options]
DLT deletes the directory named by the pathname, and all its descendants in
the naming tree.
ARGUMENTS
pathname
(required) Specify directory or link to be deleted. If "pathname" is
a directory, DLT deletes the directory and all subordinate
objects (subdirectories, files, and links). If a link, DLT
deletes the link name, but has no effect on the files and
directories named by the link. Multiple pathnames and
wildcarding are permitted.
OPTIONS
-L List files, links, and directories as they are deleted.
-LD List directories as they are deleted.
-LF List files as they are deleted.
-LL List links as they are deleted.
-F Force object deletion if you have owner rights, even if you
don't have delete rights.
-DU Delete when unlocked. If the object to be deleted is
locked when DLT is invoked, the delete operation will be
performed when the object is unlocked.
-PR pathname Preserve specified pathnames.
-LD, -LF, amd -LL may be combined to create the type of listing you desire.
This command uses the command line parser, and so also accepts the standard
command options listed in HELP CL.
EXAMPLES
$ dlt april_backup may_backup Delete the two directory trees
specified.
RELATED TOPICS
More information is available. Type:
- HELP DLF
for details about deleting only files.
- HELP DLL
for details about deleting only links.