[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using the cp command.



CW Harris wrote:

On Thu, Jun 10, 2004 at 10:21:18AM -0400, alex wrote:
I'm trying to copy the contents of one partition to another with:
       cp -afv  (partition a)/*  (partition b)/

Normally, the command works fine except when (partition b) already contains a large number of directories and files that are duplicates of those in (partition a) . The command works but each duplicate requires permission to be overwritten so it's a tedious process, clicking on 'y' for each duplicate being copied.

What version of cp are you using?  I cannot duplicate this behavior
here.  Are you sure you don't have an "-i" set?  Are you using /bin/cp
or an alias?

cp (coreutils) 5.0.91  [here]

you might check out "--reply=yes" option (man cp)

That was it, Chris. I just updated cp and it works fine. Thanks-----alex




Reply to: