* NEWS: Update.
* doc/tar.texi: Update.
* src/create.c (finish_header): Minor change.
-GNU tar NEWS - User visible changes. 2009-10-07
+GNU tar NEWS - User visible changes. 2010-01-24
Please send GNU tar bug reports to <bug-tar@gnu.org>
\f
Please send GNU tar bug reports to <bug-tar@gnu.org>
\f
suppresses the output of `A lone zero block' diagnostics, which is
normally issued if `archive' ends with a single block of zeros.
suppresses the output of `A lone zero block' diagnostics, which is
normally issued if `archive' ends with a single block of zeros.
+See Tar Manual, section 3.9 "Controlling Warning Messages", for a
+detailed discussion.
+
* New command line option `--level'
The `--level=N' option sets the incremental dump level N. It
* New command line option `--level'
The `--level=N' option sets the incremental dump level N. It
* Time references in --pax-option argument.
Any value from the --pax-option argument that is enclosed in a pair
* Time references in --pax-option argument.
Any value from the --pax-option argument that is enclosed in a pair
-of curly braces. In that case, the string between the braces is
-understood either as a textual time representation, as described in
+of curly braces represents a time reference. The string between the
+braces is understood either as a textual time representation, as described in
chapter 7, "Date input formats", of the Tar manual, or as a name of
chapter 7, "Date input formats", of the Tar manual, or as a name of
-the existing file, starting with `/' or `.'. In the latter
+an existing file, starting with `/' or `.'. In the latter
case, the value is replaced with the modification time of that file.
* Bugfixes
case, the value is replaced with the modification time of that file.
* Bugfixes
** Correctly restore modes and permissions on existing directories.
** The --remove-files option removes the files only if they were
succesfully stored in the archive.
** Correctly restore modes and permissions on existing directories.
** The --remove-files option removes the files only if they were
succesfully stored in the archive.
+** Fix storing and listing of the volume labels in POSIX format.
+** Improve algorithm for splitting long file names (ustar
+format).
\f
version 1.22 - Sergey Poznyakoff, 2009-03-05
\f
version 1.22 - Sergey Poznyakoff, 2009-03-05
When performing operations, @command{tar} will skip files that match
@var{pattern}. @xref{exclude}.
When performing operations, @command{tar} will skip files that match
@var{pattern}. @xref{exclude}.
+@opsummary{exclude-backups}
+@item --exclude-backups
+Exclude backup and lock files. @xref{exclude,, exclude-backups}.
+
@opsummary{exclude-from}
@item --exclude-from=@var{file}
@itemx -X @var{file}
@opsummary{exclude-from}
@item --exclude-from=@var{file}
@itemx -X @var{file}
Exclude from dump any directory containing a valid cache directory
tag file, but still dump the directory node and the tag file itself.
Exclude from dump any directory containing a valid cache directory
tag file, but still dump the directory node and the tag file itself.
+@xref{exclude,, exclude-caches}.
@opsummary{exclude-caches-under}
@item --exclude-caches-under
@opsummary{exclude-caches-under}
@item --exclude-caches-under
@item --exclude-tag=@var{file}
Exclude from dump any directory containing file named @var{file}, but
@item --exclude-tag=@var{file}
Exclude from dump any directory containing file named @var{file}, but
-dump the directory node and @var{file} itself. @xref{exclude}.
+dump the directory node and @var{file} itself. @xref{exclude,, exclude-tag}.
@opsummary{exclude-tag-under}
@item --exclude-tag-under=@var{file}
Exclude from dump the contents of any directory containing file
@opsummary{exclude-tag-under}
@item --exclude-tag-under=@var{file}
Exclude from dump the contents of any directory containing file
-named @var{file}, but dump the directory node itself. @xref{exclude}.
+named @var{file}, but dump the directory node itself. @xref{exclude,,
+exclude-tag-under}.
@opsummary{exclude-tag-all}
@item --exclude-tag-all=@var{file}
Exclude from dump any directory containing file named @var{file}.
@opsummary{exclude-tag-all}
@item --exclude-tag-all=@var{file}
Exclude from dump any directory containing file named @var{file}.
+@xref{exclude,,exclude-tag-all}.
@opsummary{exclude-vcs}
@item --exclude-vcs
@opsummary{exclude-vcs}
@item --exclude-vcs
Exclude from dump directories and files, that are internal for some
widely used version control systems.
Exclude from dump directories and files, that are internal for some
widely used version control systems.
+@xref{exclude,,exclude-vcs}.
@opsummary{file}
@item --file=@var{archive}
@opsummary{file}
@item --file=@var{archive}
However, empty lines are OK.
However, empty lines are OK.
@cindex version control system, excluding files
@cindex VCS, excluding files
@cindex SCCS, excluding files
@cindex version control system, excluding files
@cindex VCS, excluding files
@cindex SCCS, excluding files
@cindex Arch, excluding files
@cindex Mercurial, excluding files
@cindex Darcs, excluding files
@cindex Arch, excluding files
@cindex Mercurial, excluding files
@cindex Darcs, excluding files
@opindex exclude-vcs
@item --exclude-vcs
Exclude files and directories used by following version control
systems: @samp{CVS}, @samp{RCS}, @samp{SCCS}, @samp{SVN}, @samp{Arch},
@samp{Bazaar}, @samp{Mercurial}, and @samp{Darcs}.
@opindex exclude-vcs
@item --exclude-vcs
Exclude files and directories used by following version control
systems: @samp{CVS}, @samp{RCS}, @samp{SCCS}, @samp{SVN}, @samp{Arch},
@samp{Bazaar}, @samp{Mercurial}, and @samp{Darcs}.
As of version @value{VERSION}, the following files are excluded:
As of version @value{VERSION}, the following files are excluded:
@item @file{_darcs}
@end itemize
@item @file{_darcs}
@end itemize
+@opindex exclude-backups
+@item --exclude-backups
+Exclude backup and lock files. This option causes exclusion of files
+that match the following shell globbing patterns:
+
+@table @asis
+@item .#*
+@item *~
+@item #*#
+@end table
+
+@end table
+
@findex exclude-caches
When creating an archive, the @option{--exclude-caches} option family
causes @command{tar} to exclude all directories that contain a @dfn{cache
@findex exclude-caches
When creating an archive, the @option{--exclude-caches} option family
causes @command{tar} to exclude all directories that contain a @dfn{cache
&& header->header.typeflag != XHDTYPE
&& header->header.typeflag != XGLTYPE)
{
&& header->header.typeflag != XHDTYPE
&& header->header.typeflag != XGLTYPE)
{
- /* FIXME: These globals are parameters to print_header, sigh. */
-
- current_header = header;
+ /* FIXME: This global is used in print_header, sigh. */
current_format = archive_format;
current_format = archive_format;
- print_header (st, current_header, block_ordinal);
+ print_header (st, header, block_ordinal);
}
header = write_extended (false, st, header);
}
header = write_extended (false, st, header);