tar: update

1 
1 4.2.3 Updating an Archive
1 -------------------------
1 
1 In the previous section, you learned how to use '--append' to add a file
1 to an existing archive.  A related operation is '--update' ('-u').  The
1 '--update' operation updates a 'tar' archive by comparing the date of
1 the specified archive members against the date of the file with the same
1 name.  If the file has been modified more recently than the archive
1 member, then the newer version of the file is added to the archive (as
1 with '--append').
1 
1    Unfortunately, you cannot use '--update' with magnetic tape drives.
1 The operation will fail.
1 
1    Both '--update' and '--append' work by adding to the end of the
1 archive.  When you extract a file from the archive, only the version
1 stored last will wind up in the file system, unless you use the
1 '--backup' option.  ⇒multiple, for a detailed discussion.
1 

Menu