From owner-freebsd-questions Mon Jun 26 11:41:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.server.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id BB36E37B89F for ; Mon, 26 Jun 2000 11:41:36 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.91.224]) by mta01-svc.server.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000626184134.DLTK381.mta01-svc.server.ntlworld.com@parish.my.domain>; Mon, 26 Jun 2000 19:41:34 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id TAA01176; Mon, 26 Jun 2000 19:41:23 +0100 (BST) (envelope-from mark) Date: Mon, 26 Jun 2000 19:41:18 +0100 From: Mark Ovens To: Konrad Heuer Cc: Mark.Hummel@hurlburt.af.mil, freebsd-questions@freebsd.org Subject: Re: Dir Structure to text command? Message-ID: <20000626194118.E232@parish> References: <856532CB07BED3118FE300204840E28A01107591@vexwncc02.hurlburt.af.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: ; from kheuer@gwdu60.gwdg.de on Mon, Jun 26, 2000 at 08:12:22PM +0200 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 26, 2000 at 08:12:22PM +0200, Konrad Heuer wrote: > > On Mon, 26 Jun 2000 Mark.Hummel@hurlburt.af.mil wrote: > > > I'm looking for a command line input that will give me a text file of the > > entire directory structure of my BSD partition without files as an output. > > A comparable command for old DOS users would be "tree | more". > > Maybe > > find / -print | more > > will do what you want? He doesn't want files, just directories. Try find / -type d | more or to save the output in a file find / -type d > filename Note you should run this as root or you'll get a lot of "Permission denied" errors. > > Regards > > Konrad Heuer Personal Bookmarks: > Gesellschaft für wissenschaftliche > Datenverarbeitung mbH GÖttingen http://www.freebsd.org > Am Faßberg, D-37077 GÖttingen http://www.daemonnews.org > Deutschland (Germany) > > kheuer@gwdu60.gwdg.de > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- If I buy a copy of WinDelete, and it doesn't delete Windows, am I entitled to my money back? ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message