aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-06-02 03:13:27 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-06-02 03:13:27 +0000
commit5102783b6e3e8c3f63f108b58a0b61dde31f8106 (patch)
tree81c26c5ad85e858cc648bcf0189635f3a90e54eb /usr.bin/find
parente2873b76a677769b047c86f6acbfbb58ef346c67 (diff)
downloadsrc-5102783b6e3e8c3f63f108b58a0b61dde31f8106.tar.gz
src-5102783b6e3e8c3f63f108b58a0b61dde31f8106.zip
Document the limitations of the -delete primary
PR: bin/166554 Submitted by: Richard Kettlewell <rjk@greenend.org.uk> Discussed with: jilles Approved by: bcr MFC after: 3 days
Notes
Notes: svn path=/head/; revision=236433
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/find.15
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 2209e4f87c84..ea9091a19de4 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -31,7 +31,7 @@
.\" @(#)find.1 8.7 (Berkeley) 5/9/95
.\" $FreeBSD$
.\"
-.Dd September 28, 2011
+.Dd May 06, 2012
.Dt FIND 1
.Os
.Sh NAME
@@ -319,6 +319,9 @@ character in its pathname relative to
.Dq Pa \&.
for security reasons.
Depth-first traversal processing is implied by this option.
+The
+.Ic -delete
+primary will fail to delete a directory if it is not empty.
Following symlinks is incompatible with this option.
.It Ic -depth
Always true;