RE: Lame question about cp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have used the -f flag and it never seems to work for me; I still get
prompted.


-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf
Of mouss
Sent: Friday, March 02, 2007 7:04 PM
To: CentOS mailing list
Subject: Re:  Lame question about cp

Mário Gamito wrote:
> Hi,
>
> How can i copy a file to another with the same name without being 
> prompted for a confirmation ?
>
> I read the cp man page, but nada.

1.
# /bin/cp foo bar

2.
# cp -f foo bar

3.
# \cp foo bar

4.
# unalias cp
# cp foo bar

...
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux