From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83634 invoked by alias); 6 Sep 2015 21:16:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 83617 invoked by uid 89); 6 Sep 2015 21:16:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: nm19-vm8.access.bullet.mail.bf1.yahoo.com Received: from nm19-vm8.access.bullet.mail.bf1.yahoo.com (HELO nm19-vm8.access.bullet.mail.bf1.yahoo.com) (216.109.115.103) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 06 Sep 2015 21:16:43 +0000 Received: from [66.196.81.161] by nm19.access.bullet.mail.bf1.yahoo.com with NNFMP; 06 Sep 2015 21:16:41 -0000 Received: from [98.138.104.96] by tm7.access.bullet.mail.bf1.yahoo.com with NNFMP; 06 Sep 2015 21:16:41 -0000 Received: from [127.0.0.1] by smtp116.sbc.mail.ne1.yahoo.com with NNFMP; 06 Sep 2015 21:16:40 -0000 X-Yahoo-SMTP: 0z5TJLmswBDohOc2QznCIeoaEiEalQiTSMLFNdKdTt4t From: "Arthur Schwarz" To: Subject: cp -rup fails if a file/directory exists Date: Sun, 06 Sep 2015 21:16:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2015-09/txt/msg00099.txt.bz2 cp -rup dir /h/ works for version 8.23-4 but for version 8.24-1 it produces an error " cannot create directory '/h/dir': File exists", where 'dir' is a directory and '/h/' is a flash drive. Is there something I can do to force a save? I do not want to delete then save, I'd rather update a file/dir that exists or create a file/dir that doesn't. I've unsuccessfully looked for the cp update notice. art -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple