|
From: | Paul Eggert |
Subject: | bug#18681: The Linux cp command has bugs |
Date: | Fri, 10 Oct 2014 11:13:44 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 |
Polehn, Mike A wrote:
Using: cp -f -r <dir a> <dir b> For each file being copied it asked: cp: overwrite XXXXXXXXXXXXXXXXX?
That's not what I observe here (see below). Perhaps there's something else going on, maybe an alias. For example, I couldn't get the cp to work without also using -T. Can you please give an exact recipe for reproducing the problem on your platform?
$ mkdir a b $ echo a >a/f $ echo b >b/f $ cp -f -r -T a b $ cat b/f a
[Prev in Thread] | Current Thread | [Next in Thread] |