Re: Using the cp command.

2004-06-27 Thread Bob Proulx
alex wrote: > I'm trying to copy the contents of one partition to another with: > cp -afv (partition a)/* (partition b)/ > [...] > Is there a way to copy the entire contents of one partition to another > partition that contains duplicates without having to bang on y for each > duplic

Re: Using the cp command.

2004-06-11 Thread alex
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

Re: Using the cp command.

2004-06-11 Thread alex
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

Re: Using the cp command.

2004-06-10 Thread Brad Sims
On Thursday 10 June 2004 10:49 am, CW Harris wrote: > 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)

Re: Using the cp command.

2004-06-10 Thread CW Harris
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 th

Re: Using the cp command.

2004-06-10 Thread Daved Daly
use tar or cpio? (cd /partitiona; tar cvf - ./) | (cd /partitionb; tar xf -) or something like that... On Thu, 10 Jun 2004 10:21:18 -0400, alex <[EMAIL PROTECTED]> wrote: > > I'm trying to copy the contents of one partition to another with: > cp -afv (partition a)/* (partition b)/ >

Re: Using the cp command.

2004-06-10 Thread Thomas Adam
--- alex <[EMAIL PROTECTED]> wrote: > I'm trying to copy the contents of one partition to another with: > cp -afv (partition a)/* (partition b)/ Please see this: http://www.hantslug.org.uk/cgi-bin/wiki.pl?LinuxHints/OneDiskToAnother -- Thomas Adam = "The Linux Weekend Mechanic

Using the cp command.

2004-06-10 Thread alex
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 work