-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Adam Jimerson on 12/26/2008 4:14 PM:
> When removing a non empty directory with 'rmdir' I think the
> "--ignore-fail-on-non-empty" argument is over the edge.  That is a lot
> of typing when rm --recursive can do the same thing, and it is easier to
> remember as well.  Maybe make the "--ignore-fail-on-non-empty" something
> shorter like force or even recursive will work.

Thanks for the report.  However, coreutils use GNU getopt semantics, where
unambiguous abbreviations of long options are recognized.  Therefore, you
need not type the full name, and can get by with:

rmdir --i

until such day that we introduce another long option whose name begins
with i.  Meanwhile, your claim that 'rmdir --ignore-fail-on-non-empty' is
equivalent to 'rm -r' is false; a recursive 'rm' deletes regular files to
cause the directory to become empty and thus removable, while 'rmdir' only
removes directories that were already empty or contain only empty
subdirectories also being removed.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklWOfQACgkQ84KuGfSFAYDCpgCdEYJ1IhLDRfiL/cM7mw+LR9sh
nGYAnjs9bFS5EZx54sC/kCh7epRQ6+9D
=9Guz
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to