cd problem_directory
find . -exec rm -f {} \;
"man find"
BillK
On Thu, 2001-10-04 at 13:41, stephen wrote:
> On Thursday 04 October 2001 00:34, you wrote:
> > On Thu, 4 Oct 2001 09:21, Dave Salovesh wrote:
> > > My /var partiton is out of inodes on my DNS server.
> > >
> > >
> > > I've tried variations of rm and rmdir, but they all fail for one reason
> > > or another - "too many arguments" for rm, for one thing, and various
> > > messages that I'm trying to remove a directory for another - even when I
> > > -df it or --ignore-fail-on... it. I just want all those files gone.
> > >
> > > How to I clear out that directory?
> >
> > Did you try :
> >
> > rm -rf /var/spool/mail
> >
> >
>
> last time i had something similar, i ended up
> deleting piecemeal, such that rm -f wouldn't
> give 'too many arguments'
>
> fixed with a logrotate update istr
>
> stephen
>
> ----
>
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com