Commit | Line | Data |
---|---|---|
e26ebf18 KS |
1 | .th RMTREE VI 8/23/77 |
2 | .sh NAME | |
3 | rmtree \- remove a subtree of the file system | |
4 | .sh SYNOPSIS | |
5 | .bd rmtree | |
6 | [ | |
7 | .bd \-acfsv | |
8 | ] | |
9 | directory ... | |
10 | .sh DESCRIPTION | |
11 | .it Rmtree | |
12 | can be used to quicky remove subtrees of the file system. | |
13 | As this is a potentially disastrous action, | |
14 | .it rmtree | |
15 | will ask for confirmation of each removal, unless the standard | |
16 | input is not a teletype. | |
17 | .s3 | |
18 | Flags interpreted by | |
19 | .it rmtree | |
20 | include: | |
21 | .lp +7 6 | |
22 | .s3 | |
23 | \fB\-a\fP Remove the final directory. | |
24 | .s3 | |
25 | .lp +7 6 | |
26 | \fB\-c\fP \fIChmod\fP encountered directories so as to be able | |
27 | to remove files in them if they are not writeable. | |
28 | .s3 | |
29 | .lp +7 6 | |
30 | \fB\-f\fP Don't ask for confirmation. | |
31 | .s3 | |
32 | .lp +7 6 | |
33 | \fB\-s\fP Ask for confirmation. | |
34 | .s3 | |
35 | .lp +7 6 | |
36 | \fB\-v\fP Do not remove the directory itself, only its contents | |
37 | and the contents of its contents, etc. | |
38 | Also don't unlink quota files. | |
39 | .i0 | |
40 | .s3 | |
41 | Options and arguments may be mixed in any order. | |
42 | The default options are | |
43 | .bd \-a | |
44 | and | |
45 | .bd \-s. | |
46 | .sh "SEE ALSO" | |
47 | find (I), rm (I), cptree (VI), lntree (VI) | |
48 | .sh AUTHOR | |
49 | Kurt Shoens | |
50 | .sh BUGS | |
51 | This program is almost too dangerous to exist. | |
52 | It should be used with great caution. |