forcing overwrite with cp in FC5

CodeHeads codeheads at gmail.com
Wed Sep 20 00:48:23 UTC 2006


On 9/19/06, Aaron Konstam <akonstam at sbcglobal.net> wrote:
> On Tue, 2006-09-19 at 12:24 +0200, Thomas Springer wrote:
> > Am Dienstag, den 19.09.2006, 06:13 -0400 schrieb Michael W Cocke:
> > > I know this must have been covered before, but I can't find it...
> > >
> > > How can I get cp to overwrite existing destination files without being
> > > prompted for every file?
> >
> > When using bash, 'cp' is an alias for 'cp -i'.
> >
> > Try
> > /bin/cp src dest
> >
> Or: \cp src dest


This would work too:
cp -f

Will




More information about the fedora-list mailing list