On 3/2/07, Mário Gamito gamito@gmail.com wrote:
Hi,
Jim Perrin wrote:
-f should allow you to do this. For root, cp is aliased to cp -i, so you can either set the alias the way you want, or you can do '\cp foo bar' without the ticks, which tells the system to ignore the alias for the command.
It doesn't work. I already tried that before posting.
Try running:
/bin/cp -f $old_file $new_file
Cheers...james