X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=doc%2Ftar.texi;h=1bbb5b7a09a97498d70200a486fefda029257d34;hb=e2dbba2f07a403fbdda06efea93b79be910a1402;hp=ee123e757477a39e056fd3eb7514e7c823273f10;hpb=5108a3dc41c4dac392d14c1110e168e38fb71cbc;p=chaz%2Ftar diff --git a/doc/tar.texi b/doc/tar.texi index ee123e7..1bbb5b7 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -7030,6 +7030,10 @@ To test @option{--transform} effect we suggest to use $ @kbd{tar -cf arch.tar --transform='s,^usr/,var/,' \ --verbose --show-transformed-names /} @end smallexample + +If both @option{--strip-components} and @option{--transform} are used +together, then @option{--transform} is applied first, and the required +number of components is then stripped from its result. @node after @section Operating Only on New Files