MPE/iX Shell and Utilities Reference Manual, Vol 1

find(1) MPE/iX Shell and Utilities find(1)
–name pattern
compares the current file name to pattern. If there is no match, expression fails. The
pattern uses the same syntax as file name generation (see sh(1)). It attempts to match
as many trailing path name components as specified in pattern.
–ncpio cpio-file
writes the file found to the target file cpio-file in cpio –c format. This is equivalent
to
find ... | cpio -oc >cpio-file
This primary matches if the command succeeds.
–newer file
compares the modification date of the found file to that of the file given. This
matches if someone has modified the found file more recently than file.
–nogroup
matches if no group with a name in the group database owns the file.
–none indicates that some action has been taken; thus find does not invoke the default
–print action. If present, this primary always matches.
–nouser
matches if no user with a name in the user database owns the file.
–ok command ;
is similar to –exec, but before find executes the command, it displays the com-
mand to confirm that you want to go ahead. find only executes the command line if
your input matches the expression for yes (yes and no expressions are defined in
LC_MESSAGES
). If you type the expression for no, the primary does not match.
You must delimit the terminal semicolon with white space.
Note: The semicolon is a shell metacharacter. To use it in expression, you must
quote it.
–perm [–]mask
by default, matches if the permissions on the file are identical to the ones given in
mask. You may specify mask in octal or in symbolic mode (see chmod(1)). If you
use symbolic mode, find assumes that you begin with no bits set in mask, and the
symbolic mode is a recipe for turning the bits you want on and off. A leading minus
sign () is special. It means that a file matches if at least all the bits in mask are set.
As a result, with symbolic mode, you cannot use a mask value which begins with a
minus sign ().
Commands and Utilities 1-233