[CentOS] question on "cp -f" on centos 5.1

Jerry Geis

geisj at pagestation.com
Mon Jan 28 18:45:15 UTC 2008


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?

Jerry



More information about the CentOS mailing list