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

Re: automatic overwrite with cp



On Mon, Aug 25, 2003 at 08:20:49PM +0200, alex 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.

Use the -f option.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: