X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=NEWS;h=8037aed4a8492f5b6c0668ddb984b9a603c01d38;hb=cd39b5a1b72d9e0e0fcc6157bbc0e58662b445fb;hp=b87d017e597541d846bdb9197d9a483214e0e810;hpb=5354888e400e0565e85ac29e4826c0f7840cab45;p=chaz%2Ftar diff --git a/NEWS b/NEWS index b87d017..8037aed 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,8 @@ -GNU tar NEWS - User visible changes. 2008-10-22 +GNU tar NEWS - User visible changes. 2008-10-30 Please send GNU tar bug reports to -version 1.20.90 (CVS) +version 1.20.91 (CVS) * New short option -J @@ -28,21 +28,40 @@ back to using archive suffix to determine it. Using --exclude-vcs handles also files used internally by Bazaar, Mercurial and Darcs. -* The --transform-symlink option. +* Transformation scope flags -The effect of the --transform option on the symbolic links targets is -controlled by --transform-symlink and --no-transform-symlink options. -By default, transformations do not apply to symlink targets, -which corresponds to the behavior of version 1.19. To apply -transformations to symlink targets as well, use --transform-symlink -option. The --no-transform-symlink option cancels the effect of any -prior --transform-symlink. +Name transformation expressions understand additional flags that +control type of archive members affected by them. The flags are: + + - r + Apply transformation to regular archive members. + + - s + Apply transformation to symbolic link targets. + + - h + Apply transformation to hard link targets. + +Corresponding upper-case letters negate the flag meaning, so that +`H' means ``do not apply transformation to hard link targets.'' + +The scope flags are listed in the third part of an `s' expression, +e.g.: + + tar --transform 's|^|/usr/local/|S' + +Default is `rsh', which means that transformations are applied to +both regular archive members and to the targets of symbolic and hard +links. If several transform expressions are used, the default flags +can be changed using `flags=' statement before the expressions, e.g.: + + tar --transform 'flags=S;s|^|/usr/local/|S' * Bugfixes ** The --null option disabled handling of tar options in list files. This is fixed. -** Fixed record size autodetection. If the detected record size differs from +** Fixed record size autodetection. If detected record size differs from the expected value (either default, or set on the command line), tar always prints a warning if verbosity level is set to 1 or greater, i.e. if either -t or -v option is given.