Jerry Geis wrote: > When I issue the command cp -af --reply=yes * ../other > it tells me --reply is deprecated and use -i or -f. > > when I remove the --reply=yes I have to indicate 'y' to every > file being copied. > > I just want to copy every file in my current directory to another > directory and overwrite any file that is there. > > What is the correct way to do that?
Use -f as the you got as the error message. [EMAIL PROTECTED] test]$mkdir a b [EMAIL PROTECTED] test]$touch a/foo a/bla [EMAIL PROTECTED] test]$touch b/foo b/bla [EMAIL PROTECTED] test]$cp -f a/foo a/bla b/ [EMAIL PROTECTED] test]$ Cheers, Ralph
pgpfyte61HwVY.pgp
Description: PGP signature
_______________________________________________ CentOS mailing list [email protected] http://lists.centos.org/mailman/listinfo/centos

