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: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060919/60fb2388/attachment-0002.bin 


More information about the users mailing list