delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/09/01:46:21

From: lavictoi AT CCRS DOT NRCan DOT gc DOT ca (Jacques Lavictoire)
Subject: B19.1: tar -u option under NT 4.0 SP3 does not update properly
9 Jul 1998 01:46:21 -0700 :
Message-ID: <35A3AC94.C8B4AFB6.cygnus.gnu-win32@ccrs.nrcan.gc.ca>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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".

- Raw text -


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