summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/mtree.8
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2000-07-13 22:13:42 +0000
committerjoe <joe@FreeBSD.org>2000-07-13 22:13:42 +0000
commitdad66a4f4f293b19db9c7939efff27a7bc8fc69a (patch)
treedd0ba243240866bc964b8cd557a8aad95f798589 /usr.sbin/mtree/mtree.8
parent1a2da9c569393657e716341d0de1a0a7194a3cb0 (diff)
downloadFreeBSD-src-dad66a4f4f293b19db9c7939efff27a7bc8fc69a.zip
FreeBSD-src-dad66a4f4f293b19db9c7939efff27a7bc8fc69a.tar.gz
Added a flag (-S) to mtree to specify that symlinks shouldn't be
followed. This allows type=link matches to work properly and match the link itself, instead of the file/directory that the link is pointing to.
Diffstat (limited to 'usr.sbin/mtree/mtree.8')
-rw-r--r--usr.sbin/mtree/mtree.83
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/mtree/mtree.8 b/usr.sbin/mtree/mtree.8
index 4a08930..6f4d16d 100644
--- a/usr.sbin/mtree/mtree.8
+++ b/usr.sbin/mtree/mtree.8
@@ -98,6 +98,9 @@ instead of the current directory.
.It Fl r
Remove any files in the file hierarchy that are not described in the
specification.
+.It Fl S
+Don't follow symbolic links in the file hierarchy, instead consider
+the symbolic link itself in any comparisons.
.It Fl s Ar seed
Display a single checksum to the standard error output that represents all
of the files for which the keyword
OpenPOWER on IntegriCloud