Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 1996 00:36:56 -0400 (EDT)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        Matt White <mwhite@freehold.pc.cs.cmu.edu>
Cc:        questions@freebsd.org
Subject:   Re: Limiting find's descent depth
Message-ID:  <Pine.NEB.3.94.960705003610.25363A-100000@ki.net>
In-Reply-To: <Pine.BSF.3.91.960704235632.28596B-100000@freehold.pc.cs.cmu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Jul 1996, Matt White wrote:

> Does anyone know of a good way to keep find from descending more than N 
> directories when doing a search?

from the man page (note: this is from gnu find, I think):

       -maxdepth levels
              Descend at most  levels  (a  non-negative  integer)
              levels  of directories below the command line argu-
              ments.  `-maxdepth 0' means only  apply  the  tests
              and actions to the command line arguments.


Marc G. Fournier                                  scrappy@ki.net
Systems Administrator @ ki.net               scrappy@freebsd.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.94.960705003610.25363A-100000>