[afnog] tar: Concatenate / Create from STDIN?
Brian Candler
B.Candler at pobox.com
Tue Feb 28 18:40:01 EAT 2006
On Tue, Feb 28, 2006 at 06:24:29PM +0300, Begumisa Gerald M wrote:
> On Mon, 27 Feb 2006, Brian Candler wrote:
> > The traditional utility which works this way is cpio. With the
> > appropriate flags you can make it create output which is compatible
> > with tar.
>
> Wow. I think that's what am looking for. :-)
It goes to show - ask the right question and you'll get the right answer
faster :-)
Wrong question: "is there a way to concatenate one tar file with another
- where the second tar file comes from standard input?"
Right question: "I am trying to tar up a large number of files and
directories, using 'find' to identify all files and directories changed
within the last N days. Unfortunately the number of arguments to tar is too
large. As a workaround I am creating separate tar files each containing one
file or directory, and then using tar -A to join each piece onto the end of
an existing tarfile. Is there a better way to achieve this?"
Regards,
Brian.
More information about the afnog
mailing list