f

®nd(1)

®nd(1)

If the leading minus is omitted, this primary is true when the ®le permission bits exactly match the value of mode. Bits associated with the symbolic attributes s (set-user-ID, set-group-ID) and t (sticky bit) are ignored when the minus is omitted.

If mode is preceded by a minus, this primary is true if all of the bits that are set in mode are also set in the ®le permission bits. In this case, the bits associated with the symbolic attributes s and t are signi®cant.

-fstypeFStype True if the ®le system to which the ®le belongs is of type FStype, where FStype is one of cdfs, hfs, or nfs, corresponding to the CDFS, HFS, or NFS ®le system type, respectively.

-type c

True if the type of the ®le is c, where c is one of:

 

f

Regular ®le

 

d

Directory

 

b

Block special ®le

 

c

Character special ®le

 

p

FIFO (named pipe)

 

l

Symbolic link

 

s

Socket

 

n

Network special ®le

 

M

Mount point

-links n

True if the ®le has n links.

 

-user uname

True if the ®le belongs to the user uname.

If uname is numeric and does not

 

appear as a login name in the /etc/passwd ®le, it is taken as a user ID. The

 

uname operand can be preceded by a + or - to modify the comparison of the pri-

 

maries. If the argument n represents a decimal integer; +n means more than n,

 

-nmeans less than n, and n means exactly n.

-group gname

True if the ®le belongs to the group gname.

If gname is numeric and does not

 

appear in the /etc/group ®le, it is taken as a group ID. The gname operand

 

can be preceded by a + or - to modify the comparison of the primaries. If the

 

argument n represents a decimal integer; +n means more than n, -nmeans less

 

than n, and n means exactly n.

 

-nouser

True if the ®le belongs to a user ID that is not listed in the password database.

 

See passwd(4).

 

-nogroup

True if the ®le belongs to a group ID that is not listed in the group database.

 

See group(4).

 

-size n[c]

True if the ®le is n blocks long (512 bytes per block). If n is followed by a c, the

 

size is in bytes.

 

-atime n

True if the ®le access time subtracted from the initialized time is n-1 to n multi-

 

ples of 24 h. The initialization time shall be a time between the invocation of the

 

find utility and the ®rst access by that invocation of the find utility to any

 

®le speci®ed by its path operands. The access time of directories in

 

pathname_list is changed by find itself.

 

-mtime n

True if the ®le modi®cation time subtracted from the initialization time is n-1 to

 

n multiples of 24 h. The initialization time shall be a time between the invocation

 

of the find utility and the ®rst access by that invocation of the find utility to

 

any ®le speci®ed in its path operands.

 

-ctime n

True if the time of last change of ®le status information subtracted from the ini-

 

tialization time is n-1 to n multiples of 24 h. The initialization time shall be a

 

time between the invocation of the find utility and the ®rst access by that invo-

 

cation of the find utility to any ®le speci®ed by its path operands.

-newer file

True if the current ®le has been modi®ed more recently than the argument ®le.

-newer[tv1[tv2] ] file

True if the indicated time value (tv1) of the current ®le is newer than the indi-

 

cated time value (tv2) of ®le. The time values tv1 and tv2 are each selected from

 

the set of characters:

 

Section 1272

− 2 −

HP-UX Release 11i: December 2000