Date: Sat, 6 Apr 2002 01:07:34 -0600 From: Mike Meyer <mwm-dated-1018508855.d44f86@mired.org> To: "W. D." <WD@US-Webmasters.com> Cc: freebsd-questions@freebsd.org Subject: Re: File and Directory Tree listing? Message-ID: <15534.40630.633577.439215@guru.mired.org> In-Reply-To: <5.1.0.14.2.20020406003344.04ae8830@us-webmasters.com> References: <5.1.0.14.2.20020406003344.04ae8830@us-webmasters.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In <5.1.0.14.2.20020406003344.04ae8830@us-webmasters.com>, W. D. <WD@US-Webmasters.com> 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 <directory> | sed 's/.* //' | xargs ls -ld <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15534.40630.633577.439215>