From owner-freebsd-questions Fri Apr 5 23: 7:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 1733337B405 for ; Fri, 5 Apr 2002 23:07:38 -0800 (PST) Received: (qmail 83002 invoked by uid 100); 6 Apr 2002 07:07:35 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15534.40630.633577.439215@guru.mired.org> Date: Sat, 6 Apr 2002 01:07:34 -0600 To: "W. D." Cc: freebsd-questions@freebsd.org Subject: Re: File and Directory Tree listing? In-Reply-To: <5.1.0.14.2.20020406003344.04ae8830@us-webmasters.com> References: <5.1.0.14.2.20020406003344.04ae8830@us-webmasters.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.51 (Python 2.2 on FreeBSD/i386) 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 In <5.1.0.14.2.20020406003344.04ae8830@us-webmasters.com>, W. D. typed: > Hi, > > I wonder if there is a simple way to get a complete listing > of all the directories (and files in them). The list > would also show dates, times, sizes, permissions, etc. > > 'vdiskuse' give a listing of all the directories. 'ls' > gives a list of files within the directories. > > Is there some way that these can be combined, or used > recursively, or is there some other commmand altogether? > > Thanks for any light you can shed! du -a | sed 's/.* //' | xargs ls -ld http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message