X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=doc%2Ftar.texi;h=b4bb450abd405f53328a758f9765e05abd1be05e;hb=643e3f244170eb0edcdcb237c45bb8756785e047;hp=cb7502f3f79a44af2b4aa8857d2ad43400817b35;hpb=cc82db7f2d7768afab6d789c0e78ce1f07722d0d;p=chaz%2Ftar diff --git a/doc/tar.texi b/doc/tar.texi index cb7502f..b4bb450 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -2009,7 +2009,7 @@ attention to them. Each option has at least one @dfn{long} (or @dfn{mnemonic}) name starting with two dashes in a row, e.g., @option{--list}. The long names are more clear than their corresponding short or old names. It sometimes happens that a -single long option has many different different names which are +single long option has many different names which are synonymous, such as @option{--compare} and @option{--diff}. In addition, long option names can be given unique abbreviations. For example, @option{--cre} can be used in place of @option{--create} because there is no @@ -6495,13 +6495,10 @@ Any directory that contains this file will be excluded from the dump. @opindex exclude-tag @item --exclude-tag=@var{file} Causes @command{tar} to ignore directories containing @var{file}. +Multiple @option{--exclude-tag} options can be given. @end table -You can specify as many exclusion tags as you like. - -Notice, that when speaking about ``excluding the directory'' we mean -that the files and subdirectories it contains will not get into the -archive, while the entry for the directory itself will, e.g.: +For example: @smallexample $ @kbd{find dir} @@ -6510,17 +6507,15 @@ dir/blues dir/jazz dir/folk dir/folk/tagfile -$ @kbd{tar -cf archive.tar --extract-tag=tagfile -v} +$ @kbd{tar -cf archive.tar --exclude-tag=tagfile -v} dir/ dir/blues dir/jazz -dir/folk/ ./tar: dir/folk/: contains a cache directory tag tagfile; not dumped $ @kbd{tar -tf archive.tar} dir/ dir/blues dir/jazz -dir/folk/ @end smallexample @menu