version 1.47, 2005/03/14 15:29:15 |
version 1.48, 2005/06/15 14:19:45 |
|
|
.Nd walk a file hierarchy |
.Nd walk a file hierarchy |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm find |
.Nm find |
.Op Fl dHhLWXx |
.Op Fl dHhLXx |
.Op Fl f Ar path |
.Op Fl f Ar path |
.Ar path ...\& |
.Ar path ...\& |
.Op Ar expression |
.Op Ar expression |
|
|
link, not the link itself. |
link, not the link itself. |
If the referenced file does not exist, the file information and type will |
If the referenced file does not exist, the file information and type will |
be for the link itself. |
be for the link itself. |
.It Fl W |
|
Let |
|
.Nm |
|
take whiteouts into account when scanning directories. |
|
.It Fl X |
.It Fl X |
Permit |
Permit |
.Nm |
.Nm |
|
|
Possible file types are as follows: |
Possible file types are as follows: |
.Pp |
.Pp |
.Bl -tag -width flag -offset indent -compact |
.Bl -tag -width flag -offset indent -compact |
.It Cm W |
|
whiteout (currently, these won't even be visible without also specifying |
|
.Fl W ) |
|
.It Cm b |
.It Cm b |
block special |
block special |
.It Cm c |
.It Cm c |
|
|
.Xr getopt 3 |
.Xr getopt 3 |
.Dq \-\- |
.Dq \-\- |
construct. |
construct. |
.Pp |
|
The |
|
.Fl W |
|
option is probably not the most elegant way to handle whiteouts. |
|
It may be replaced by a more sophisticated algorithm eventually. |
|