RE: Lame question about cp

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



Mario (?) wrote:

> How can i copy a file to another with the same name without being 
> prompted for a confirmation, and -f doesn't work?

Unalias cp doesn't work....hmmm.

If it is still not working, workaround it by using this:

rm /dir/foobar
touch /dir/foobar
cp  /source/foobar /dir/foobar

Nothing fancy, but it should accomplish the same task.

Best,

Pkrash, dealing with upcoming DST features
In our house. 
Not CentOS related heads up: Juniper firmware updates for multiple
devices
Breaks RSA backend Xauth. (SSG5, SA2000, NetScreen25, etc....)

Centoss Related: RH5 coming soon :-)
This e-mail and any documents accompanying it may contain legally privileged and/or confidential information belonging to Exegy, Inc. Such information may be protected from disclosure by law. The information is intended for use by only the addressee. If you are not the intended recipient, you are hereby notified that any disclosure or use of the information is strictly prohibited. If you have received this e-mail in error, please immediately contact the sender by e-mail or phone regarding instructions for return or destruction and do not use or disclose the content to others.
_______________________________________________
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