Ausam/doc/man/man8/rmtree.8
.th RMTREE VI 8/23/77
.sh NAME
rmtree \*- remove a subtree of the file system
.sh SYNOPSIS
.bd rmtree
[\c
.bd \-acfsv\c
]
directory ...
.sh DESCRIPTION
.it Rmtree
can be used to quicky remove subtrees of the file system.
As this is a potentially disastrous action,
.it rmtree
will ask for confirmation of each removal, unless the standard
input is not a teletype.
.s3
Flags interpreted by
.it rmtree
include:
.lp +7 6
.s3
\fB\-a\fP Remove the final directory.
.s3
.lp +7 6
\fB\-c\fP \fIChmod\fP encountered directories so as to be able
to remove files in them if they are not writeable.
.s3
.lp +7 6
\fB\-f\fP Don't ask for confirmation.
.s3
.lp +7 6
\fB\-s\fP Ask for confirmation.
.s3
.lp +7 6
\fB\-v\fP Do not remove the directory itself, only its contents
and the contents of its contents, etc.
Also don't unlink quota files.
.i0
.s3
Options and arguments may be mixed in any order.
The default options are
.bd \-a
and
.bd \-s.
.sh "SEE ALSO"
find (I), rm (I)
.sh AUTHOR
Kurt Shoens (UC Berkley)
.sh BUGS
This program is almost too dangerous to exist.
It should be used with great caution.