|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
In the previous section, you learned how to use `--append' to
add a file to an existing archive. A related operation is
`--update' (`-u'). The `--update' operation
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 newer version of the file is added to the archive (as with
Unfortunately, you cannot use `--update' with magnetic tape drives. The operation will fail.
See other examples of media on which -update will fail? need to ask charles and/or mib/thomas/dave shevett..
Both `--update' and `--append' work by adding to the end of the archive. When you extract a file from the archive, only the version stored last will wind up in the file system, unless you use the `--backup' option. See section Multiple Members with the Same Name, for a detailed discussion.
|220.127.116.11 How to Update an Archive Using `--update'|
This document was generated on February, 23 2019 using texi2html 1.76.