From owner-freebsd-questions Mon Dec 17 3:32:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from crt-gw.infopro.spb.su (crt-gw.infopro.spb.su [195.201.254.5]) by hub.freebsd.org (Postfix) with ESMTP id D5E8C37B629 for ; Mon, 17 Dec 2001 03:31:14 -0800 (PST) Received: from igorr by crt-gw.infopro.spb.su with local (Exim 3.33 #1) id 16Fvzx-000Hfc-00 for freebsd-questions@freebsd.org; Mon, 17 Dec 2001 14:31:57 +0300 Date: Mon, 17 Dec 2001 14:31:57 +0300 From: Igor Roboul To: freebsd-questions@freebsd.org Subject: Re: /bin/sh script to walk through a filetree? [shell, example, file, directory, tree] Message-ID: <20011217143157.A61209@sysadm.stc> Reply-To: igorr@speechpro.com Mail-Followup-To: Igor Roboul , freebsd-questions@freebsd.org References: <20011217122028.K21241@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011217122028.K21241@xs4all.nl>; from rene@xs4all.nl on Mon, Dec 17, 2001 at 12:20:28PM +0100 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 On Mon, Dec 17, 2001 at 12:20:28PM +0100, rene@xs4all.nl wrote: > 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? Use "find". For more information use "man find" at shell prompt. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message