GNU bug report logs -
#12400
rmdir: add --one-file-system option
Previous Next
Reported by: Linda Walsh <coreutils <at> tlinx.org>
Date: Mon, 10 Sep 2012 00:32:01 UTC
Severity: wishlist
Tags: wontfix
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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
This bug report was last modified 6 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.