Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!helios.ee.lbl.gov!ncis.tis.llnl.gov!lll-winken!uunet!bywater!acheron!archet!wlm From: wlm@archet.UUCP (William L. Moran Jr.) Newsgroups: comp.unix.wizards Subject: Re: Subdirectory listing Keywords: directory tree subdirectory Message-ID: <65@archet.UUCP> Date: 22 May 89 00:32:44 GMT References: <215@cs.columbia.edu> Reply-To: wlm@archet.UUCP (William L. Moran Jr.) Distribution: usa Organization: A Desperate and Dedicated Crew Lines: 21 In article <215@cs.columbia.edu> olasov@cs.columbia.edu (Ben Olasov) writes: > > >I'm interested in finding a unix command usage that will return the complete >path names of all subdirectories below a given directory, so that, given a >directory tree like this: ... deleted >What's the easiest way to do this? Why not simply use find /foo -type d -print ? Unless I misunderstand what you are trying to do, this does it. It'll produce stuff like: /foo/bar /foo/baz /foo/baz/beep Bill Moran -- arpa: moran-william@cs.yale.edu or wlm@ibm.com uucp: uunet!bywater!acheron!archet!wlm or decvax!yale!moran-william ------------------------------------------------------------------------------- To keep on running, try with all our might, But in the midst of effort faint and fail;