[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feauture enhancement in rmdir

From: Bob Proulx
Subject: Re: feauture enhancement in rmdir
Date: Sun, 9 Sep 2001 13:30:40 -0600

> What about a simple paramter '-r' like rm ?
> The -p options seems to be only senseful, if you can express

> all the subdirectories. Imagine the following:
> hello/a/b/c/a/d/f
> hello/a/b/d/d
> hello/a/b/e/a/a/a/a/a/a/
> Howto remove hello completly with rmdir ?

How about using find and xargs?

  find hello -depth -type d -print0 | xargs -0 rmdir


reply via email to

[Prev in Thread] Current Thread [Next in Thread]