bug-fileutils
[Top][All Lists]
Advanced

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

Re: missing feature in cp


From: Jim Meyering
Subject: Re: missing feature in cp
Date: Thu, 25 Apr 2002 19:34:14 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu)

Michael Meß <address@hidden> wrote:
> I would like to copy files with cp and never overwrite existing files.
>
> I can use cp -i, but I don't want to say 'n' 1000 times (because there
> is no "No for all" option) or I just want to do that in a batch file,
> where I cannot give any answers to questions.

In recent test releases of the fileutils there is an option
to do just what you want:

      --reply={yes,no,query}   specify how to handle the prompt about an
                                 existing destination file

The latest is here:
  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.8.tar.gz



reply via email to

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