From: Sergey Poznyakoff Date: Wed, 28 Sep 2005 20:42:39 +0000 (+0000) Subject: Updated X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=49f39c25b4be8fe8d824ac169add3c002976d6eb;p=chaz%2Ftar Updated --- diff --git a/ChangeLog b/ChangeLog index 29ca364..2eedec0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2005-09-28 Sergey Poznyakoff + * 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 + * 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. diff --git a/NEWS b/NEWS index ab057ec..2b8f300 100644 --- a/NEWS +++ b/NEWS @@ -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