and ``operands'' listed below) in terms of each file in the tree.
The options are as follows:
[user@fbsd4:~]$ man find
FIND(1) FreeBSD General Commands Manual FIND(1)
NAME
find -- walk a file hierarchy
SYNOPSIS
find [-H | -L | -P] [-EXdsx] [-f pathname] pathname ... expression
find [-H | -L | -P] [-EXdsx] -f pathname [pathname ...] expression
-P Cause the file information and file type (see stat(2)) returned
This executes from the current working directory as find recurses
Utility will be executed from the directory from which find was
pathname listed, evaluating an expression (composed of the ``primaries''
executed. Utility and arguments are not subject to the further
and ``operands'' listed below) in terms of each file in the tree.
exception that utility will be executed from the directory that
mounted on the system where the find is being executed and the
The options are as follows:
tion that find requests user affirmation for the execution of the
``POSIX'' locale), the command is not executed and the value of
-E Interpret regular expressions followed by -regex and -iregex pri-
ment variables affect the execution of the find utility as described in
maries as extended (modern) regular expressions rather than basic
find / -type f -exec echo {} \;
regular expressions (BRE's). The re_format(7) manual page fully
describes both formats.
-H Cause the file information and file type (see stat(2)) returned
for each symbolic link specified 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.
-L Cause the file information and file type (see stat(2)) returned
for each symbolic link 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.
This option is equivalent to the deprecated -follow primary.
-P Cause the file information and file type (see stat(2)) returned
for each symbolic link to be those of the link itself. This is
the default.