version 1.34, 2001/08/22 23:43:13 |
version 1.35, 2002/05/17 15:04:32 |
|
|
.Nd walk a file hierarchy |
.Nd walk a file hierarchy |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm find |
.Nm find |
.Op Fl HdhXxW |
.Op Fl dHhLXxW |
.Op Fl f Ar file |
.Op Fl f Ar file |
.Ar file Op Ar ... |
.Ar file Op Ar ... |
.Op Ar expression |
.Op Ar expression |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl H |
|
Causes the file information and file type (see |
|
.Xr stat 2 ) |
|
returned for each symbolic link encountered on the command line to be |
|
those of the file referenced by the link, not the link itself. |
|
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. |
|
.It Fl d |
.It Fl d |
Causes |
Causes |
.Nm |
.Nm |
|
|
to traverse. |
to traverse. |
File hierarchies may also be specified as the operands immediately |
File hierarchies may also be specified as the operands immediately |
following the options. |
following the options. |
|
.It Fl H |
|
Causes the file information and file type (see |
|
.Xr stat 2 ) |
|
returned for each symbolic link encountered on the command line to be |
|
those of the file referenced by the link, not the link itself. |
|
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. |
.It Fl h |
.It Fl h |
|
An alias for the |
|
.Fl L |
|
option. |
|
This option exists for backwards compatability. |
|
.It Fl L |
Causes the file information and file type (see |
Causes the file information and file type (see |
.Xr stat 2 ) |
.Xr stat 2 ) |
returned for each symbolic link to be those of the file referenced by the |
returned for each symbolic link to be those of the file referenced by the |