X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=NEWS;h=dd451833f17ad13b011f3222524821ea7a133eef;hb=a35935e973d4d0c6c16371c9aa661e11582e0c46;hp=76917fb4a7a9de9dd48d86b67b259d915c1de5ae;hpb=57267f7ed9a41e3ea7a0fb9379dc18322b3df7c6;p=chaz%2Ftar diff --git a/NEWS b/NEWS index 76917fb..dd45183 100644 --- a/NEWS +++ b/NEWS @@ -20,10 +20,10 @@ is now interpreted as a request to extract from the archive the file named '*.c'. To treat member names as globbing patterns, use --wildcards option. -So, if you wish tar to mimic the behavior of versions up to 1.15.90, -set 'TAR_OPTIONS=--wildcards'. +If you wish tar to mimic the behavior of versions up to 1.15.90, +add --wildcards to the value of the environment variable TAR_OPTIONS. -The exact way tar interprets member names is controlled by the +The exact way in which tar interprets member names is controlled by the following command line options: --wildcards use wildcards @@ -53,9 +53,31 @@ with UNIX98. This ends the transition period started with version 1.14. * New features +** New option --transform allows to transform file names before storing them +in the archive or member names before extracting. The option takes a +sed replace expression as its argument. For example, + + tar cf foo.tar --transform 's,^,prefix/,' + +will add 'prefix/' to all file names stored in foo.tar. + +** --strip-components option works when deleting and comparing. In previous +versions it worked only with --extract. + +** New option --show-transformed-names enables display of transformed file +or archive. It generalizes --show-stored-names option, introduced in +1.15.90. In particular, when creating an archive in verbose mode, it lists +member names as stored in the archive, i.e., with any eventual prefixes +removed and file name transformations applied. The option is useful, +for example, while comparing `tar cv' and `tar tv' outputs. + ** New incremental snapshot file format keeps information about file names as well as that about directories. +** Option --checkpoint takes an optional argument specifying the number +of records between the two successive checkpoints. Optional dot +starting the argument intructs tar to print dots instead of textual +checkpoints. version 1.15.90 - Sergey Poznyakoff, 2006-02-19