X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=TODO;h=0de14ddc1c215994076a26656fc44f69e81f5f9c;hb=3710b34c7e5a5b84a5018176f23484bf6a28a16c;hp=e756ff3d64ad001817f444afd7a76f25e652b0d8;hpb=c92c357a6277d7316fa688538991d25299f7b430;p=chaz%2Ftar diff --git a/TODO b/TODO index e756ff3..0de14dd 100644 --- a/TODO +++ b/TODO @@ -30,25 +30,22 @@ 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 +* 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) * Copyright notice