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
+* Consider this:
- 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.
+ From: Dennis Pund
+ Subject: TAR suggestion...
+ Date: Wed, 1 May 2002 18:26:36 -0500 (EST)
- 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
+ What I would like to do is:
- tar --extract --cut-path-elements 1 --directory fom
+ foo my.tar.gz | tar -xzOf - | tar -cMf - -L 650000 - | bar
+
+ where 'foo' is a program that retrieves the archive and streams it
+ to stdout and bar is a program that streams the stdin to CDR.
+
+ (http://mail.gnu.org/archive/html/bug-gnu-utils/2002-05/msg00022.html)
\f
* Copyright notice