delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/11/07:06:15

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: B19.1: tar -u option under NT 4.0 SP3 does not update properly
11 Jul 1998 07:06:15 -0700 :
Message-ID: <19980710131500.15058.rocketmail.cygnus.gnu-win32@send1c.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com, Jacques Lavictoire <lavictoi AT CCRS DOT NRCan DOT gc DOT ca>

On a FAT filesystem there is only one timestamp and that is the date
of last access.  Therefore, when tar accesses the file it updates the
timestamp to the file and then will think that it has been modified.



---Jacques Lavictoire <lavictoi AT CCRS DOT NRCan DOT gc DOT ca> wrote:
>
> Hi,
> 
>     I'm new to gnu-win32 so it might just be me but repeating a tar
job
> with -u should update only if the files are newer then the previous
> tarred files correct . But it keeps adding the files but they are all
> the same set of files exactly. An example is as follows
> 
> bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> tar: Removing leading `/' from absolute path names in the archive
> temp/ati/DE5110C1.EXE
> temp/ati/MAKEDISK.BAT
> temp/ati/MAKEDISK.PIF
> bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> tar: Removing leading `/' from absolute path names in the archive
> temp/ati/DE5110C1.EXE
> temp/ati/MAKEDISK.BAT
> temp/ati/MAKEDISK.PIF
> bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> tar: Removing leading `/' from absolute path names in the archive
> temp/ati/DE5110C1.EXE
> temp/ati/MAKEDISK.BAT
> temp/ati/MAKEDISK.PIF
> 
> After this you would expect, if I'm reading the help on tar properly,
> that I should only have one copy of the files since they haven't
changed
> at all. Is this a problem ?
> 
> Thank You
> 
> Jack
> 
> 
> --
> 
>        Jacques Lavictoire Systems Support
>        Canada Centre for Remote Sensing, Natural Resources Canada
>        588 Booth Street, Room G3, Ottawa, Ontario, Canada K1A 0Y7
>        Email: jacques DOT lavictoire AT ccrs DOT nrcan DOT gc DOT ca
>        Phone: (613) 947-1366 Fax: (613) 947-1408
> 
> 
> -
> For help on using this list (especially unsubscribing), send a
message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> 


==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd AT yahoo DOT com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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