emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#47151: closed (cp --recursive funky behaviour)


From: GNU bug Tracking System
Subject: bug#47151: closed (cp --recursive funky behaviour)
Date: Mon, 21 Feb 2022 09:55:03 +0000

Your message dated Mon, 21 Feb 2022 01:54:02 -0800
with message-id <f2390683-e2fc-37ee-0917-3a342d9acb72@cs.ucla.edu>
and subject line Re: bug#47151: cp --recursive funky behaviour
has caused the debbugs.gnu.org bug report #47151,
regarding cp --recursive funky behaviour
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
47151: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47151
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: cp --recursive funky behaviour Date: Sun, 14 Mar 2021 21:47:05 -0300 User-agent: Zoho Mail
cd /tmp
mkdir src
touch src/a
cp -r src dest
#damn, I forgot a file
touch src/b
cp -r src dest
ls dest
# a dest





Attachment: grucp.png
Description: PNG image


--- End Message ---
--- Begin Message --- Subject: Re: bug#47151: cp --recursive funky behaviour Date: Mon, 21 Feb 2022 01:54:02 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0
On 3/14/21 17:47, Tomas wrote:
cd /tmp
mkdir src
touch src/a
cp -r src dest

#damn, I forgot a file
touch src/b
cp -r src dest
ls dest
# a dest

cp has behaved that way for ages, and is required to behave that way by POSIX, so this is not a bug. To sidestep the issue, you can use the -T option of GNU cp. Closing the bug report.


--- End Message ---

reply via email to

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