This commit is contained in:
Sergey Poznyakoff
2005-09-28 20:42:39 +00:00
parent 40da86b2a1
commit 49f39c25b4
2 changed files with 20 additions and 0 deletions

View File

@@ -1,5 +1,12 @@
2005-09-28 Sergey Poznyakoff <gray@gnu.org.ua>
* NEWS: Updated
* src/common.h (show_stored_names_option): New variable
* src/list.c (print_header): If show_stored_names_option is given,
list member names as stored in the archive. Patch proposed by Erik
Cumps <erik.cumps@icos.be>
* src/tar.c: Implement --show-stored-names option
* src/common.h (test_label_option): New variable;
* src/list.c (print_header): Special handling if test_label_option
is set.

13
NEWS
View File

@@ -25,6 +25,19 @@ automatically. It is not necessary to give --null option.
is useful e.g. for processing output from `find dir -print0'.
An orthogonal option --unquote is provided as well.
* New option --test-label tests the archive volume label.
If an argument is specified, the label is compared against its value.
Tar exits with code 0 if the two strings match, and with code 2 if
they do not.
If no argument is given, --verbose option is implied. In this case,
tar prints the label name, if it is present and exits with code 0.
* New option --show-stored-names. When creating archive in verbose mode,
lists member names as stored in the archive, i.e. with any eventual
prefixes removed. The option is useful, for example, while comparing
`tar cv' and `tar tv' outputs.
* Better support for full-resolution time stamps. Tar cannot restore
time stamps to full nanosecond resolution, though, until the kernel
guys get their act together and give us a system call to set file time