summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-11-18 16:34:03 +0000
committereadler <eadler@FreeBSD.org>2012-11-18 16:34:03 +0000
commitb1db12df07edba3116b838b550bb106131a55544 (patch)
tree64ffd87603511f0f3ae6a5308d75862cb48b50d7 /usr.bin/find
parentae1cdcc2e86129fc00cbd9bd76e8b13437d07405 (diff)
downloadFreeBSD-src-b1db12df07edba3116b838b550bb106131a55544.zip
FreeBSD-src-b1db12df07edba3116b838b550bb106131a55544.tar.gz
Make it clear that amin and friends take + and - options.
PR: docs/173265 Submitted by: Anton Shterenlikht <mexas@bristol.ac.uk> Approved by: bcr (mentor) MFC after: 3 days
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/find.134
1 files changed, 27 insertions, 7 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index cf10bf2..8c48229 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 9, 2012
+.Dd November 18, 2012
.Dt FIND 1
.Os
.Sh NAME
@@ -203,12 +203,19 @@ files with extended ACLs.
See
.Xr acl 3
for more information.
-.It Ic -amin Ar n
+.It Ic -amin Oo Cm - Ns | Ns Cm + Oc Ns Ar n
True if the difference between the file last access time and the time
.Nm
was started, rounded up to the next full minute, is
+more than
.Ar n
-minutes.
+.Pq + Ns Ar n ,
+less than
+.Ar n
+.Pq - Ns Ar n ,
+or exactly
+.Ar n
+minutes ago.
.It Ic -anewer Ar file
Same as
.Ic -neweram .
@@ -250,13 +257,20 @@ Units are probably only useful when used in conjunction with the
or
.Cm -
modifier.
-.It Ic -cmin Ar n
+.It Ic -cmin Oo Cm - Ns | Ns Cm + Oc Ns Ar n
True if the difference between the time of last change of file status
information and the time
.Nm
was started, rounded up to the next full minute, is
+more than
.Ar n
-minutes.
+.Pq + Ns Ar n ,
+less than
+.Ar n
+.Pq - Ns Ar n ,
+or exactly
+.Ar n
+minutes ago.
.It Ic -cnewer Ar file
Same as
.Ic -newercm .
@@ -540,12 +554,18 @@ primary is specified, it applies to the entire expression even if it would
not normally be evaluated.
.Dq Ic -mindepth Li 1
processes all but the command line arguments.
-.It Ic -mmin Ar n
+.It Ic -mmin Oo Cm - Ns | Ns Cm + Oc Ns Ar n
True if the difference between the file last modification time and the time
.Nm
was started, rounded up to the next full minute, is
.Ar n
-minutes.
+.Pq + Ns Ar n ,
+less than
+.Ar n
+.Pq - Ns Ar n ,
+or exactly
+.Ar n
+minutes ago.
.It Ic -mnewer Ar file
Same as
.Ic -newer .
OpenPOWER on IntegriCloud