From: Sergey Poznyakoff Date: Thu, 4 Sep 2003 15:43:35 +0000 (+0000) Subject: Updated X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=commitdiff_plain;h=5b9d8c93c78f8c0177e4c837dcc3cdc4f79d59c5 Updated --- diff --git a/NEWS b/NEWS index 10069dd..7327194 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,8 @@ version 1.13.26 * The default output format can be selected at configuration time by presetting the environment variable DEFAULT_ARCHIVE_FORMAT. Allowed values are GNU, V7, OLDGNU and POSIX. +* New option --strip-path allows to cut off a given number of +path elements from the name of the file being extracted. * Bug fixes. diff --git a/TODO b/TODO index e756ff3..0018ca9 100644 --- a/TODO +++ b/TODO @@ -30,25 +30,9 @@ so that the GNU extensions (--sparse, --incremental, --label and It would be useful to be able to use '--remove-files' with '--diff', to remove all files that compare successfully, when verifying a backup. -* Add an option to cut away the first N output path elements: +* Add tests for testing the added functonality. - From: Marc Haber - Date: Tue, 26 Aug 2003 08:55:31 +0200 - - some archives have members like - foo/bar - foo/baz - foo/bam - - When I now want to extract the three members bar, baz and bam to the - directory fom instead foo, I need to extract to foo and then to move - the files over manually. - - patch(1) solves that problem by offering an option taking the number - of path elements to cut away before using the path name. With an - option like that, the above problem could be solved with - - tar --extract --cut-path-elements 1 --directory fom +* Revise the --sparse option functionality. * Copyright notice