bug-coreutils
[Top][All Lists]
Advanced

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

Re: rmdir fails?


From: John Cowan
Subject: Re: rmdir fails?
Date: Fri, 8 Jun 2007 07:26:16 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

Morgan Read scripsit:

> rmdir --ignore-fail-on-non-empty
> 
> Never works.

[example snipped]

On the contrary, it did exactly what you asked.  It tried to remove
a non-empty directory, failed (as it will on all Posix and Win32
systems), and suppressed the report of the failure.

If you want to remove the directory with its contents, you need
not rmdir but rm -rf.

-- 
Even the best of friends cannot                 John Cowan
attend each others' funeral.                    address@hidden
        --Kehlog Albran, The Profit             http://www.ccil.org/~cowan




reply via email to

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