> 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

Bob

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to