forcing overwrite with cp in FC5

Thomas Springer th.springer at gmx.net
Tue Sep 19 10:24:37 UTC 2006


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

HTH,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060919/60fb2388/attachment-0001.sig>


More information about the fedora-list mailing list