the directory hierarchy for
(i.e., one or more pathnames)
seeking files that match a boolean
written in the primaries given below.
In the descriptions, the argument
is used as a decimal integer
argument matches the current file name.
argument syntax may be used if escaped (watch out for
True if the file permission flags
is prefixed by a minus sign,
more flag bits (017777, see
True if the type of the file
block special file, character special file,
True if the file belongs to the user
(login name or numeric user ID).
True if the file belongs to group
(group name or numeric group ID).
blocks long (512 bytes per block).
True if the file has inode number
True if the file has been accessed in
True if the file has been modified in
True if the executed command returns
a zero value as exit status.
The end of the command must be punctuated by an escaped
A command argument `{}' is replaced by the
except that the generated command is written on
the standard output, then the standard input is read
and the command executed only upon response
causes the current pathname to be printed.
the current file has been modified more recently than the argument
The primaries may be combined using the following operators
(in order of decreasing precedence):
A parenthesized group of primaries and operators
(parentheses are special to the Shell and must be escaped).
The negation of a primary
Concatenation of primaries
is implied by the juxtaposition of two primaries).
To remove all files named
`a.out' or `*.o' that have not been accessed for a week:
find / \\( \-name a.out \-o \-name '*.o' \\)
\-atime +7 \-exec rm {} \\;
sh(1), test(1), filsys(5)