diff options
author | eik <eik@FreeBSD.org> | 2004-05-14 12:58:13 +0000 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-05-14 12:58:13 +0000 |
commit | a2d6663b8d56437b999f7d5e0730b4254618485c (patch) | |
tree | a10dc8dc0cf9480316155c5d135347617f00ac32 /usr.bin | |
parent | 0e3fc50764d1277595a84852d31892ea05421f2a (diff) | |
download | FreeBSD-src-a2d6663b8d56437b999f7d5e0730b4254618485c.zip FreeBSD-src-a2d6663b8d56437b999f7d5e0730b4254618485c.tar.gz |
-maxdepth and -mindepth are global variables
PR: 66613
Approved by: ru
MFC after: 3 days
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/find/find.1 | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1 index 9da0669..1052bc1 100644 --- a/usr.bin/find/find.1 +++ b/usr.bin/find/find.1 @@ -427,11 +427,24 @@ The format is identical to that produced by .Nm ls Fl dgils . .Ek .It Ic -maxdepth Ar n -True if the depth of the current file into the tree is less than or equal to +Always true; do not apply any tests or actions at levels less than .Ar n . +If any +.Ic -maxdepth +primary is specified, it applies to the entire expression even if it would +not normally be evaluated. +.Ic -maxdepth Li 0 +limits the whole search to the command line arguments. .It Ic -mindepth Ar n -True if the depth of the current file into the tree is greater than or equal to -.Ar n . +Always true; descend at most +.Ar n +directory levels below the command line arguments. +If any +.Ic -mindepth +primary is specified, it applies to the entire expression even if it would +not normally be evaluated. +.Ic -mindepth Li 1 +processes all but the command line arguments. .It Ic -mmin Ar n True if the difference between the file last modification time and the time .Nm |