Opened 10 years ago
Closed 10 years ago
#1004 closed task (fixed)
Tar 1.28 Version Upgrade
Reported by: | William Harrington | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | CLFS Standard 3.1.0 |
Component: | BOOK | Version: | CLFS Standard GIT |
Keywords: | Cc: | berzerkula@…, jonathan@…, chris@… |
Description
http://ftp.gnu.org/gnu/tar/tar-1.28.tar.xz
version 1.28, 2014-07-28
- New checkpoint action: totals
The --checkpoint-action=totals option instructs tar to output the total number of bytes transferred at each checkpoint.
- Extended checkpoint format specification.
New conversion specifiers are implemented. Some of them take optional arguments, supplied in curly braces between the percent sign and the specifier letter.
%d - Number of seconds since tar started. %{r,w,d}T - I/O totals; optional arguments supply prefixes
to be used before number of bytes read, written and deleted, correspondingly.
%{FMT}t - Current local time using FMT as strftime(3) format.
If {FMT} is omitted, use %c.
%{N}* - Pad output with spaces to the Nth column, or to the
current screen width, if {N} is not given.
%c - A shortcut for "%{%Y-%m-%d %H:%M:%S}t: %ds, %{read,wrote}T%*\r"
- New option --one-top-level
The option --one-top-level tells tar to extract all files into a subdirectory named by the base name of the archive (minus standard compression suffixes recognizable by --auto-compress). When used with an argument, as in --one-top-level=DIR, the files are extracted into the supplied DIRectory. This ensures that no archive members are extracted outside of the specified directory, even if the archive is crafted so as to put them elsewhere.
- New option --sort
The --sort=ORDER option instructs tar to sort directory entries according to ORDER. It takes effect when creating archives. Available ORDERs are: none (the default), name and inode. The latter may be absent, if the underlying system does not provide the necessary information.
Using --sort=name ensures the member ordering in the created archive is uniform and reproducible. Using --sort=inode reduces the number of disk seeks made when creating the archive and thus can considerably speed up archivation.
- New exclusion options
--exclude-ignore=FILE Before dumping a directory check if it
contains FILE, and if so read exclude patterns for this directory from FILE.
--exclude-ignore-recursive=FILE
Same as above, but the exclusion patterns read from FILE remain in effect for any subdirectory, recursively.
--exclude-vcs-ignores Read exclude tags from VCS ignore files,
where such files exist. Supported VCS's are: CVS, Git, Bazaar, Mercurial.
- Tar refuses to read input from and write output to a tty device.
- Manpages
This release includes official tar(1) and rmt(8) manpages. Distribution maintainers are kindly asked to use these instead of the home-made pages they have been providing so far.
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed at commit b73fed715713fdc26cf66886e9f8069ee9f2bf26