home *** CD-ROM | disk | FTP | other *** search
- # This file contains 'rh' expressions.
- # '#' character causes the rest of the line to
- # be ignored...
- #
-
- # ex1, ex2, ex3, ex4, ex5 come from the manual...
- #
- ex1:
- (mode & 022) && (uid == $uucp );
-
- ex2:
- !uid && (mode & ISUID ) && (mode & 02);
-
- ex3:
- (size > 10*1024) && (mode & 0111) && (atime <= NOW-24*3600);
-
- ex4:
- size < (("*.c") ? 4096 : 32*1024);
-
- ex5:
- !(size % 1024);
-
- # find files that have been created in the last hour.
- #
- new:
- ctime > NOW-3600;
-
- # find files who have not been modified in the last 30 days.
- #
- aged:
- mtime < NOW-30*24*3600;
-
-