10.0;dlt (delete_tree), revision 1.0, 88/01/21
dlt (delete_tree) -- Delete a tree.
usage: dlt pathname... [-l | [-ld] [-lf] [-ll] ]
[-f] [-du]
[-pr pathname...] {cl}
DESCRIPTION
dlt deletes the directory named by the pathname, and all its descendants
in the naming tree.
ARGUMENTS
pathname (required)
Specify directory 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 is
performed when the object is unlocked.
-pr pathname Preserve specified pathnames.
You can combine -ld, -lf, and -ll to create the type of listing you
desire.
EXAMPLES
Delete the two directory trees specified.
$ dlt april_backup may_backup
SEE ALSO
More information is available. Type
help dlf For details about deleting only files
help dll For details about deleting only links