Clarify (hopefully) the description of -remove.

Fixes PR/38987
This commit is contained in:
dsl 2009-11-06 21:03:12 +00:00
parent 2bd83a5fc2
commit fe39abeba9
1 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: find.1,v 1.68 2009/10/15 02:26:38 joerg Exp $ .\" $NetBSD: find.1,v 1.69 2009/11/06 21:03:12 dsl Exp $
.\" .\"
.\" Copyright (c) 1990, 1993 .\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -32,7 +32,7 @@
.\" .\"
.\" from: @(#)find.1 8.7 (Berkeley) 5/9/95 .\" from: @(#)find.1 8.7 (Berkeley) 5/9/95
.\" .\"
.Dd July 19, 2007 .Dd November 6, 2009
.Dt FIND 1 .Dt FIND 1
.Os .Os
.Sh NAME .Sh NAME
@ -219,16 +219,17 @@ was started, rounded up to the next full 24-hour period, is
24-hour periods. 24-hour periods.
.Pp .Pp
.It Ic -delete .It Ic -delete
Delete found files and/or directories. Delete found files, symbolic links and directories.
Always returns True. Always returns True.
This executes from the current working directory as This executes from the current working directory as
.Nm .Nm
recurses down the tree. recurses down the tree.
It will not attempt to delete a filename with a To avoid deleting unexpected files, it will ignore any filenames that
.Xr fts 3
returns that contain a
.Dq / .Dq /
character in its pathname relative to .Xr ( fts 3
.Dq \&. should not return such pathnames).
for security reasons.
Depth-first traversal processing is implied by this option. Depth-first traversal processing is implied by this option.
This can also be invoked as This can also be invoked as
.Ic -rm . .Ic -rm .