Re: automatic overwrite with cp

From: Johann Koenig (explosive_at_att.net)
Date: 08/26/03

  • Next message: Alfredo Valles: "other debian installer tactic?"
    Date: Mon, 25 Aug 2003 20:34:45 -0400
    To: debian-user@lists.debian.org
    
    
    

    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
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

    • application/pgp-signature attachment: stored

  • Next message: Alfredo Valles: "other debian installer tactic?"

    Relevant Pages

    • Re: automatic overwrite with cp
      ... > I've been trying to copy the contents of a partition to ... > another partition (destination) that has a large number ... The command I've tried is: ... > would do an automatic overwrite but apparently it doesn't. ...
      (Debian-User)
    • Re: automatic overwrite with cp
      ... Roberto Sanchez wrote: ... >>I've been trying to copy the contents of a partition to ... >>another partition (destination) that has a large number ... I wasn't aware that there was such a command in man. ...
      (Debian-User)
    • RE: Save As / Overwrite
      ... I am using macros in an Excel file perform sorts on data and save each sort ... automatic updates. ... If I use the Workbook.SaveAs command, I am constantly prompted whether to ... overwrite the existing file. ...
      (microsoft.public.excel.misc)
    • Re: automatic overwrite with cp
      ... > another partition (destination) that has a large number ... The command I've tried is: ... > would do an automatic overwrite but apparently it doesn't. ...
      (Debian-User)
    • Re: automatic overwrite with cp
      ... > I've been trying to copy the contents of a partition to ... > another partition (destination) that has a large number ... The command I've tried is: ... > overwrite. ...
      (Debian-User)