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

Re: automatic overwrite with cp



On Mon, 25 Aug 2003 20:20:49 +0200
alex <radsky@ncia.net> wrote:

> I've been trying to copy the contents of a partition  (source)  to 
> another partition  (destination) that has a large number
> of files that need to be overwritten.   The command I've tried is:
> 
>      # cp -apRv  source/* /destination/
> 
> The command works but it requires that I manually respond 'yes' for
> each overwrite.  I thought that the r or R option
> would do an automatic overwrite but apparently it doesn't.
> 
> What should the option be to do automatic overwrites with the ' cp ' 
> command?

man cp
/-f
-- 
-johann koenig
Now Playing: Goldie - Dragonfly : Saturnz Return (Disc 2 - Saturn)
Today is Boomtime, the 18th day of Bureaucracy in the YOLD 3169
My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp

Attachment: pgpp0E7RZM32B.pgp
Description: PGP signature


Reply to: