[Top][All Lists]

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

Re: Replacement for cp -i --reply=no ?

From: Andreas Schwab
Subject: Re: Replacement for cp -i --reply=no ?
Date: Wed, 01 Aug 2007 19:08:17 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Jerry Peek <address@hidden> writes:

> I searched around gnu.org, and searched this list back to the start of
> 2006, for info on why cp --reply is deprecated (and will be removed in
> 2008).  Sorry if this has been asked before... but what's the replacement
> for cp -i --reply=no ?

IMHO the best replacement is rsync.

>  I use it, for instance, when I'd started a long-running recursive
> directory copy that was interrupted in the middle and I want to
> re-start cp to finish the job.  Using --reply=no tells cp not to
> overwrite existing files; it saves a lot of useless re-copying.

cp -u does that as well.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]