#581065 /bin/rmdir: recursive option for rmdir

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
Paul Wise
Date:
2021-09-22 04:46:03 UTC
Severity:
wishlist
#581065#5
Date:
2010-05-11 03:00:56 UTC
From:
To:
I would like to be able to do a recursive rmdir. This would save typing
for the cases where I want to remove a whole empty dir hierarchy.

Currently I do this:

rmdir --parents foo/bar/baz

I'd like to just do this:

rmdir --recursive foo

or this:

rmdir -r foo

Both of these commands should be equivalent to but significantly less
typing than this command:

find foo -depth -type d -empty -delete

#581065#10
Date:
2010-05-11 03:23:02 UTC
From:
To:
-- 
-1: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=-1
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems

#581065#15
Date:
2010-05-11 06:14:54 UTC
From:
To:
Paul Wise wrote:

Thanks for the suggestion, but there's no need
to add an option to rmdir, when you can accomplish
the same thing with a simple shell function or alias:

  rmdir_r() { find "$@" -depth -type d -empty -delete; }

Of course, you might want to extend that to give
its own --help and to diagnose a missing argument.

#581065#20
Date:
2010-05-11 06:14:54 UTC
From:
To:
Paul Wise wrote:

Thanks for the suggestion, but there's no need
to add an option to rmdir, when you can accomplish
the same thing with a simple shell function or alias:

  rmdir_r() { find "$@" -depth -type d -empty -delete; }

Of course, you might want to extend that to give
its own --help and to diagnose a missing argument.

#581065#25
Date:
2021-09-22 04:22:54 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com