Deleted Added
full compact
mtree.8 (121798) mtree.8 (122141)
1.\" Copyright (c) 1989, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" From: @(#)mtree.8 8.2 (Berkeley) 12/11/93
1.\" Copyright (c) 1989, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" From: @(#)mtree.8 8.2 (Berkeley) 12/11/93
33.\" $FreeBSD: head/usr.sbin/mtree/mtree.8 121798 2003-10-31 13:39:19Z phk $
33.\" $FreeBSD: head/usr.sbin/mtree/mtree.8 122141 2003-11-05 22:26:08Z phk $
34.\"
35.Dd February 26, 1999
36.Dt MTREE 8
37.Os
38.Sh NAME
39.Nm mtree
40.Nd map a directory hierarchy
41.Sh SYNOPSIS
42.Nm
43.Op Fl LPUcdeinqrux
44.Bk -words
45.Op Fl f Ar spec
46.Ek
47.Bk -words
34.\"
35.Dd February 26, 1999
36.Dt MTREE 8
37.Os
38.Sh NAME
39.Nm mtree
40.Nd map a directory hierarchy
41.Sh SYNOPSIS
42.Nm
43.Op Fl LPUcdeinqrux
44.Bk -words
45.Op Fl f Ar spec
46.Ek
47.Bk -words
48.Op Fl f Ar spec
49.Ek
50.Bk -words
48.Op Fl K Ar keywords
49.Ek
50.Bk -words
51.Op Fl k Ar keywords
52.Ek
53.Bk -words
54.Op Fl p Ar path
55.Ek

--- 61 unchanged lines hidden (view full) ---

117except a status of 2 is returned if the file hierarchy did not match
118the specification.
119.It Fl x
120Don't descend below mount points in the file hierarchy.
121.It Fl f Ar file
122Read the specification from
123.Ar file ,
124instead of from the standard input.
51.Op Fl K Ar keywords
52.Ek
53.Bk -words
54.Op Fl k Ar keywords
55.Ek
56.Bk -words
57.Op Fl p Ar path
58.Ek

--- 61 unchanged lines hidden (view full) ---

120except a status of 2 is returned if the file hierarchy did not match
121the specification.
122.It Fl x
123Don't descend below mount points in the file hierarchy.
124.It Fl f Ar file
125Read the specification from
126.Ar file ,
127instead of from the standard input.
128.Pp
129If this option is specified twice, the two specifications are compared
130to each other rather than to the file hierarchy.
131The specifications be sorted like output generated using
132.Fl c .
133The output format in this case is somewhat remniscent of
134.Xr comm 1 ,
135having "in first spec only", "in second spec only", and "different"
136columns, prefixed by zero, one and two TAB characters respectively.
137Each entry in the "different" column occupies two lines, one from each specfication.
125.It Fl K Ar keywords
126Add the specified (whitespace or comma separated)
127.Ar keywords
128to the current set of keywords.
129.It Fl k Ar keywords
130Use the ``type'' keyword plus the specified (whitespace or comma separated)
131.Ar keywords
132instead of the current set of keywords.

--- 229 unchanged lines hidden ---
138.It Fl K Ar keywords
139Add the specified (whitespace or comma separated)
140.Ar keywords
141to the current set of keywords.
142.It Fl k Ar keywords
143Use the ``type'' keyword plus the specified (whitespace or comma separated)
144.Ar keywords
145instead of the current set of keywords.

--- 229 unchanged lines hidden ---