Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!romp!auschs!awdprime!doorstop.austin.ibm.com!tif From: tif@doorstop.austin.ibm.com (Paul Chamberlain) Newsgroups: comp.unix.questions Subject: Re: Deleting directories Message-ID: <2714@awdprime.UUCP> Date: 10 Jul 90 17:05:46 GMT References: <37481@ucbvax.BERKELEY.EDU> Sender: news@awdprime.UUCP Reply-To: tif@reed.UUCP (Paul Chamberlain) Organization: IBM AWD, Austin, TX Lines: 12 In article <37481@ucbvax.BERKELEY.EDU> ashish@janus.Berkeley.EDU.UUCP (Ashish Mukharji) writes: >... but deleting the resulting (empty) directory structure presents >a greater problem. ... Isn't this what -depth does for find: find . -depth -type d -exec rmdir {} \; I'd try this but "-depth" has absolutely no noticeable effect on my RT. Paul Chamberlain | I do NOT represent IBM tif@doorstop, sc30661@ausvm6 512/838-7008 | ...!cs.utexas.edu!ibmaus!auschs!doorstop.austin.ibm.com!tif