retitle 12400 rmdir: add --one-file-system option
severity 12400 wishlist
tags 12400 wontfix
stop

(triaging old bugs)

Hello,

On 2012-09-09 11:22 p.m., Bob Proulx wrote:
Linda Walsh wrote:
If you are going to only provide 1 mode of functionality, it should
be to only rmdir dirs on the same file system as the starting args.

[...]
But rmdir only removes the directories you tell it to remove.

[...]

If you want a recursive option why not use 'rm -rf'?

There is always 'find' with the -delete option.  But regardless there
has been the find -exec option.

   find /some/path -type d -delete

   find /some/path -depth -type d -exec rmdir {} +


With no further comments in 6 years, I'm closing this
request.

regards,
 - assaf



Reply via email to