bug-coreutils
[Top][All Lists]
Advanced

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

bug#9931: Remove a non empty directory


From: Eric Blake
Subject: bug#9931: Remove a non empty directory
Date: Tue, 01 Nov 2011 10:15:55 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15

tag 9931 notabug
thanks

On 11/01/2011 04:55 AM, Olivier LE GUEN wrote:
  My problem is I can't remove a non empty directory because there's no "-r" option in 
"rmdir".
  How can I have a recursive function ?

Thanks for the report. However, this is unlikely to be changed in 'rmdir', because POSIX already standardized 'rm -r' as the way to recursively remove directories. So many people are used to 'rm -r' doing what you are asking for, that adding an extension of 'rmdir -r' as an alternative would only cause confusion, not to mention that the extension would not be available everywhere like 'rm -r' already is.

--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org





reply via email to

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