The command "find" performs a recursive search for files in the directory specified as its first argument. Each file or directory which meets all conditions imposed by remaining arguments may have its path printed to the standard output, or it may be used as part of another command with the "-exec" option.
OPTIONS
-name keyword
If the "-name" argument is supplied, only files and directories whose names match the keyword will be found. One or more asterisks (*) may be used as wildcard characters in the keyword. The asterisk will match any string of characters (including the null string). If asterisks are used in the keyword, the keyword should be enclosed in double quotes to hide them from MacShell's file name substitution mechanism.
-type c
The character c, following the "-type" argument may be either 'f' for file, or 'd' for directory. If this argument is used, only entities of the specified type will be found.
-ftype TYPE
The "-ftype" argument allows files of a particular Macintosh file type signature to be found. The type signature should be four characters long. If spaces or asterisks (*) are used in type, the entire string should be quoted.
-fcreator CRTR
The "-fcreator" argument allows files with a particular Macintosh file creator signature to be found. The creator signature should be four characters long. If spaces or asterisks (*) are used, the entire string should be quoted.
-print
If the "-print" argument is found, the path of any files and directories which meet all the given conditions will be printed to the standard output.
-exec command \;
Any arguments following the "-exec" option will be used to construct a MacShell command which will be executed once for each file and directory found. If two brackets are directly juxtapposed, "{}" and form a separate argument following the "-exec" option they will be interpreted as a special "place holder" operator. Before the command is executed, the file name returned by the "find" command will be substituted for this operator. The command string must be terminated with ";" or "\;".