delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/16/18:24:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 16 Jun 2004 17:18:52 -0500
From: Brian Ford <ford AT vss DOT fsi DOT com>
Reply-To: cygwin AT cygwin DOT com
To: Keith Christian <keithchristian AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: cp -u always copies all files
In-Reply-To: <20040616220745.43682.qmail@web52207.mail.yahoo.com>
Message-ID: <Pine.CYG.4.58.0406161716290.3804@fordpc.vss.fsi.com>
References: <20040616220745 DOT 43682 DOT qmail AT web52207 DOT mail DOT yahoo DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

On Wed, 16 Jun 2004, Keith Christian wrote:

> I'm running this Cygwin distribution on Windows XP Pro:
>
> CYGWIN_NT-5.1 den-aet-xpw002 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
> unknown Cygwin
>
> My most pressing question is why "cp -u" always copies all files instead of
> only updated ones.  I have tried this with several test files, and it never
> once offers to copy only new/updated files.  Is this a bug, or is there some
> other way I can test this and report back my findings?

WFM :-).

$ uname -a
CYGWIN_NT-5.1 fordpc 1.5.10(0.116/4/2) 2004-05-26 11:10 i686 unknown
unknown Cygwin

$ touch x
$ cp -u x y
$ ls -l
total 0
-rw-r--r--    1 ford     None            0 Jun 16 17:15 x
-rw-r--r--    1 ford     None            0 Jun 16 17:15 y

$ date
Wed Jun 16 17:16:01 CST 2004

$ cp -u x y
$ ls -l
total 0
-rw-r--r--    1 ford     None            0 Jun 16 17:15 x
-rw-r--r--    1 ford     None            0 Jun 16 17:15 y

$ touch x
$ cp -u x y
$ ls -l
total 0
-rw-r--r--    1 ford     None            0 Jun 16 17:16 x
-rw-r--r--    1 ford     None            0 Jun 16 17:16 y

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019