forcing overwrite with cp in FC5

Michael W Cocke cocke at catherders.com
Tue Sep 19 11:09:40 UTC 2006


ARGH!.  I didn't think of checking to see if it was an alias.  Thanks!

Mike-



On Tue, 19 Sep 2006 12:52:28 +0200, you wrote:

>Thomas Springer schrieb:
>> 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
>> 
>
>Use '/bin/cp --force' to use circumvent the 'cp -i' alias.
>
>   Karsten
--
If you're not confused, you're not trying hard enough.
--
Please note - Due to the intense volume of spam, we have installed 
site-wide spam filters at catherders.com.  If email from you bounces,
try non-HTML, non-encoded, non-attachments,




More information about the fedora-list mailing list