Sergey Poznyakoff 19 years ago
parent
commit
9154c0c43b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      doc/tar.texi

+ 4 - 0
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/,' \
 $ @kbd{tar -cf arch.tar --transform='s,^usr/,var/,' \
        --verbose --show-transformed-names /}
        --verbose --show-transformed-names /}
 @end smallexample
 @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
 @node after
 @section Operating Only on New Files
 @section Operating Only on New Files