Deleting directories
Paul Chamberlain
tif at doorstop.austin.ibm.com
Wed Jul 11 03:05:46 AEST 1990
In article <37481 at ucbvax.BERKELEY.EDU> ashish at 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 at doorstop, sc30661 at ausvm6
512/838-7008 | ...!cs.utexas.edu!ibmaus!auschs!doorstop.austin.ibm.com!tif
More information about the Comp.unix.questions
mailing list