tech-userlevel archive

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

Re: rmdir -p

In message <>
        on Mon, 19 May 2008 11:41:09 -0400,
        "D'Arcy J.M. Cain" <> wrote:
> > > It seems to me that "rmdir
> > > -p" should silently ignore directories that it cannot remove.
> > 
> > Utilities should not silently ignore domain errors of their
> > arguments. rmdir(1) is quite clear on operating on empty
> > directories only (or otherwise empty components, for -p).
> But is it an error?  If the intention is to remove a directory and any
> otherwise empty parents and that's what it does, why throw an error?
For ignoring such a error, it reminds me that -f option of rm(1).

Takahiro Kambe <>

Home | Main Index | Thread Index | Old Index