(tar)Updating an Archive


Next: Combining Archives Prev: Adding to an Existing Archive Up: Basic tar Operations

Updating an Archive
===================

     *(This message will disappear, once this node revised.)*

   The `--update' (`-u') option updates a `tar' archive by comparing
the date of the specified archive members against the date of the file
with the same name.  If the file has been modified more recently than
the archive member, then the archive member is deleted (as with
`--delete') and then the file is added to the archive (as with
`--append' (`-r')).  On media where the `--delete' option cannot be
performed (such as magnetic tapes), the `--update' (`-u') option
similarly fails.

   If no archive members are named (either on the command line or via
`--files-from=FILE-OF-NAMES' (`-T FILE-OF-NAMES')), then the entire
archive is processed in this manner.


automatically generated by info2www version 1.2