From owner-freebsd-questions Thu Jul 4 21:37:03 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA14815 for questions-outgoing; Thu, 4 Jul 1996 21:37:03 -0700 (PDT) Received: from ki.net (root@ki.net [205.150.102.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA14808 for ; Thu, 4 Jul 1996 21:37:01 -0700 (PDT) Received: from localhost (scrappy@localhost) by ki.net (8.7.5/8.7.5) with SMTP id AAA26344; Fri, 5 Jul 1996 00:36:57 -0400 (EDT) Date: Fri, 5 Jul 1996 00:36:56 -0400 (EDT) From: "Marc G. Fournier" To: Matt White cc: questions@freebsd.org Subject: Re: Limiting find's descent depth In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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