From owner-freebsd-questions Mon Dec 17 3:20:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mxzilla3.xs4all.nl (mxzilla3.xs4all.nl [194.109.6.49]) by hub.freebsd.org (Postfix) with ESMTP id 515AA37B405 for ; Mon, 17 Dec 2001 03:20:30 -0800 (PST) Received: from xs4.xs4all.nl (rene@xs4.xs4all.nl [194.109.6.45]) by mxzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id fBHBKTiE069896 for ; Mon, 17 Dec 2001 12:20:29 +0100 (CET) Received: (from rene@localhost) by xs4.xs4all.nl (8.9.0/8.9.0) id MAA13631 for questions@freebsd.org; Mon, 17 Dec 2001 12:20:29 +0100 (CET) Date: Mon, 17 Dec 2001 12:20:28 +0100 From: rene@xs4all.nl To: questions@freebsd.org Subject: /bin/sh script to walk through a filetree? [shell, example, file, directory, tree] Message-ID: <20011217122028.K21241@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. I need to do 'something' with all or some files in a directory tree. Can someone perhaps point me to a skeleton example that shows me how to walk recursively through a filetree, listing all files/directories in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message