diff options
author | Sergio Aguayo <sergioag@qmailhosting.net> | 2020-08-23 21:38:49 -0500 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2020-08-26 14:33:21 -0400 |
commit | d770dd109db2b92dea49c41ab80ce452e6e7064c (patch) | |
tree | d4c17487e821d97b18877f0554a63f8690789b92 | |
parent | e1447ca93391f31609bda487cb922dbff9dcdef5 (diff) | |
download | illumos-joyent-d770dd109db2b92dea49c41ab80ce452e6e7064c.tar.gz |
12767 Document '-delete' option to find(1)
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/man/man1/find.1 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/usr/src/man/man1/find.1 b/usr/src/man/man1/find.1 index d393a3197d..3e1b3959ee 100644 --- a/usr/src/man/man1/find.1 +++ b/usr/src/man/man1/find.1 @@ -47,7 +47,7 @@ .\" Copyright (c) 2013 Andrew Stormont. All rights reserved. .\" Copyright 2020 Joyent, Inc. .\" -.TH FIND 1 "Feb 20, 2020" +.TH FIND 1 "Aug 23, 2020" .SH NAME find \- find files .SH SYNOPSIS @@ -226,6 +226,18 @@ True if the file's status was changed \fIn\fR days ago. .sp .ne 2 .na +\fB\fB-delete\fR\fR +.ad +.RS 17n +Always true. Deletes the files and folders found recursing from the current +directory. This option implicitly enables \fB-depth\fR and is incompatible +with following symlinks, if specified. For security reasons, relative paths +starting with '\fB\&/\fR' are not allowed. +.RE + +.sp +.ne 2 +.na \fB\fB-depth\fR\fR .ad .RS 17n |