Please include the version of the program next time. (do cp --version)
Unlike for mv, where -f cancels -i (--interactive), for cp, -f is
independent of -i. I suspect that for you `cp' is an alias for `cp -i'.
Ted Fines <[EMAIL PROTECTED]> wrote:
> Unless I am misunderstanding the options "--force" and
> "--remove-destination", these options just don't work with the cp
> command. I'm using RH 7.1 (kernel 2.4.2-2).
>
> 'cp --force /dir1/file1.dat .' or
> 'cp --force /dir1/file1.dat ./file1.dat' or
> 'cp --force /dir1/file1.dat /full/path/to/current/directory/file.dat'
> all yield the same response:
> "cp: overwrite `./file1.dat'? "
>
> Likewise, so does 'cp -f ... ...', 'cp --remove-destination ... ...'
>
> What am I missing here?
_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils