This commit is contained in:
Sergey Poznyakoff
2003-09-04 15:43:35 +00:00
parent 08cfd54f54
commit 5b9d8c93c7
2 changed files with 4 additions and 18 deletions

2
NEWS
View File

@@ -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.

20
TODO
View File

@@ -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 <mh+debian-bugs@zugschlus.de>
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