[CentOS] Lame question about cp

Paul Krash pkrash at exegy.com
Sat Mar 3 02:38:47 UTC 2007


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.



More information about the CentOS mailing list