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. [angenenr@shutdown test]$mkdir a b [angenenr@shutdown test]$touch a/foo a/bla [angenenr@shutdown test]$touch b/foo b/bla [angenenr@shutdown test]$cp -f a/foo a/bla b/ [angenenr@shutdown test]$ Cheers, Ralph
Attachment:
pgpq4fj3PXnDV.pgp
Description: PGP signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos