[Top][All Lists]

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

Re: Bug with cp command?

From: Jim Meyering
Subject: Re: Bug with cp command?
Date: Sat, 18 Aug 2001 09:10:36 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105

Please include the version of the program next time.  (do cp --version)
Unlike for mv, where -f cancels -i (--interactive), for cp, -f is
independent of -i.  I suspect that for you `cp' is an alias for `cp -i'.

Ted Fines <address@hidden> wrote:
> Unless I am misunderstanding the options "--force" and
> "--remove-destination", these options just don't work with the cp
> command. I'm using RH 7.1 (kernel 2.4.2-2).
> 'cp --force /dir1/file1.dat .' or
> 'cp --force /dir1/file1.dat ./file1.dat' or
> 'cp --force /dir1/file1.dat /full/path/to/current/directory/file.dat'
> all yield the same response:
> "cp: overwrite `./file1.dat'? "
> Likewise, so does 'cp -f ... ...', 'cp --remove-destination ... ...'
> What am I missing here?

reply via email to

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