Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2003 09:00:50 -0800
From:      Chris Pressey <cpressey@catseye.mine.nu>
To:        Malcolm Kay <malcolm.kay@internode.on.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how do you get dump to assume "yes" to its questions
Message-ID:  <20031107090050.7d9182b2.cpressey@catseye.mine.nu>
In-Reply-To: <200311072335.29758.malcolm.kay@internode.on.net>
References:  <1068210236.18604.1.camel@pluto.dc.cox.net> <200311072335.29758.malcolm.kay@internode.on.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Nov 2003 23:35:29 +1030
Malcolm Kay <malcolm.kay@internode.on.net> wrote:

> On Fri, 7 Nov 2003 23:33, Scott Renna wrote:
> > Hello all,
> >
> > I've managed to start utilizing dump and the flags to exclude
> > certain directories.  The problem i've run into is when i try to
> > back up/usr....it's so big and dump breaks it up into tinier
> > pieces(i'm dumping to a file).  it asks me if the new volume is
> > mounted and ready to go. Obviously it is...is there a way for dump
> > to just run through all this without bothering me?
> >
> 
> Not certain I understand what you want, but I think you want the
> '-a' option with dump so that it writes all to one file without
> stopping. Try the man page.

Not certain I understand either, but if all you want is a way to answer
'y' to every prompt a program gives you, one way is to use the 'yes'
command.  e.g.

  yes | rm -rf /tmp/*

-Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031107090050.7d9182b2.cpressey>