summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2004-02-27 20:04:38 +0000
committertrhodes <trhodes@FreeBSD.org>2004-02-27 20:04:38 +0000
commit1584bc6304f8e9cbb42cd3aab202425700969f99 (patch)
tree4dec06b3ad7c92808ad72c4560ec526f59b03d2b /usr.bin/find
parent108fca056b39835d3cd01b13e983771920013184 (diff)
downloadFreeBSD-src-1584bc6304f8e9cbb42cd3aab202425700969f99.zip
FreeBSD-src-1584bc6304f8e9cbb42cd3aab202425700969f99.tar.gz
Update the find manual page:
1: Document -follow under COMPATIBILITY. 2: Update an example to be a little more 'safe'. 3: Use '/' in place of '.' for an example; similar to other manual pages. PR: 40196 (1), 39532 (2, 3) Submitted by: Marc Silver <marcs@draenor.org> (2 and 3) Discussed with: des (1)
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/find.115
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 5981677..7cb4ece 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -82,6 +82,9 @@ If the referenced file does not exist, the file information and type will
be for the link itself.
File information of all symbolic links not on
the command line is that of the link itself.
+This is a suitable replacement for the archaic
+.Ic -follow
+option.
.It Fl L
Cause the file information and file type (see
.Xr stat 2 )
@@ -727,10 +730,20 @@ Print out a list of all the files that are either owned by
.Dq wnj
or that are newer than
.Pa ttt .
-.It Li "find . -newerct '1 minute ago' -print"
+.It Li "find / -newerct '1 minute ago' -print"
Print out a list of all the files whose inode change time is more
recent than the current time minus one minute.
+.It Li "find / -type f -exec echo {} \e\;"
+Use the
+.Xr echo 1
+command to print out a list of all the files.
.El
+.Sh COMPATIBILITY
+The
+.Ic -follow
+option has been deprecated;
+.Fl H
+is considered to be a suitable replacement.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chmod 1 ,
OpenPOWER on IntegriCloud