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)
This commit is contained in:
parent
73c02c410e
commit
e578c2421c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126331
@ -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 ,
|
||||
|
Loading…
Reference in New Issue
Block a user