summaryrefslogtreecommitdiff
path: root/usr.bin/find/find.1
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-09-14 12:47:13 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-09-14 12:47:13 +0000
commitadff4fca3dc53af29a7a4d04d4b8f53ba247a3c3 (patch)
treecd5ff906e7fac50993fc36ab98c35020c5e92c95 /usr.bin/find/find.1
parente469dc2c9992cb8fc5608eefdabb079b773ebec9 (diff)
downloadsrc-test2-adff4fca3dc53af29a7a4d04d4b8f53ba247a3c3.tar.gz
src-test2-adff4fca3dc53af29a7a4d04d4b8f53ba247a3c3.zip
Notes
Diffstat (limited to 'usr.bin/find/find.1')
-rw-r--r--usr.bin/find/find.167
1 files changed, 61 insertions, 6 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 5945d58e7bee..0c7d3d2cd720 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -170,12 +170,44 @@ minutes.
.It Ic -anewer Ar file
Same as
.Ic -neweram .
-.It Ic -atime Ar n
-True if the difference between the file last access time and the time
+.It Ic -atime Ar n Ns Op Cm smhdw
+If no units are specified, this primary evaluates to
+true if the difference between the file last access time and the time
.Nm
was started, rounded up to the next full 24\-hour period, is
.Ar n
24\-hour periods.
+.Pp
+If units are specified, this primary evaluates to
+true if the difference between the file last access time and the time
+.Nm
+was started is exactly
+.Ar n
+units.
+Possible time units are as follows:
+.Pp
+.Bl -tag -width indent -compact
+.It Cm s
+second
+.It Cm m
+minute (60 seconds)
+.It Cm h
+hour (60 minutes)
+.It Cm d
+day (24 hours)
+.It Cm w
+week (7 days)
+.El
+.Pp
+Any number of units may be combined in one
+.Ic -atime
+argument, for example,
+.Dq Li "-atime -1h30m" .
+Units are probably only useful when used in conjunction with the
+.Cm +
+or
+.Cm -
+modifier.
.It Ic -cmin Ar n
True if the difference between the time of last change of file status
information and the time
@@ -186,13 +218,25 @@ minutes.
.It Ic -cnewer Ar file
Same as
.Ic -newercm .
-.It Ic -ctime Ar n
-True if the difference between the time of last change of file status
+.It Ic -ctime Ar n Ns Op Cm smhdw
+If no units are specified, this primary evaluates to
+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 24\-hour period, is
.Ar n
24\-hour periods.
+.Pp
+If units are specified, this primary evaluates to
+true if the difference between the time of last change of file status
+information and the time
+.Nm
+was started is exactly
+.Ar n
+units.
+Please refer to the
+.Ic -atime
+primary description for information on supported time units.
.It Ic -delete
Delete found files and/or directories.
Always returns true.
@@ -362,12 +406,23 @@ minutes.
.It Ic -mnewer Ar file
Same as
.Ic -newer .
-.It Ic -mtime Ar n
-True if the difference between the file last modification time and the time
+.It Ic -mtime Ar n Ns Op Cm smhdw
+If no units are specified, this primary evaluates to
+true if the difference between the file last modification time and the time
.Nm
was started, rounded up to the next full 24\-hour period, is
.Ar n
24\-hour periods.
+.Pp
+If units are specified, this primary evaluates to
+true if the difference between the file last modification time and the time
+.Nm
+was started is exactly
+.Ar n
+units.
+Please refer to the
+.Ic -atime
+primary description for information on supported time units.
.It Ic -name Ar pattern
True if the last component of the pathname being examined matches
.Ar pattern .