Re: How do you add files to an existing compressed tar file?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Erik Bixby
Date:  
To: Main PLUG discussion list
Subject: Re: How do you add files to an existing compressed tar file?
While I was waiting for a response, I figured I'd see if leaving off
the compression helped. That still seems to munge the files... I'm
preparing to go with plan "b;" just use lots of individual files.

On 5/5/06, Darrin Chandler <> wrote:
> On Fri, May 05, 2006 at 02:20:29PM -0700, Erik Bixby wrote:
> > I can successfully create a tar file with something akin to
> >
> > tar -czvf /path/to/archive.tgz /path/to/file/to/backup
> >
> > Once the archive.tgz file is created, how does one add another file to
> > it? Everything I've read gives me the impression that
> >
> > tar -rzvf /path/to/archive.tgz /path/to/other/file/to/backup
> >
> > should work. However, that's blowing my archive.tgz file up. Any ideas?
>
> I don't have time to reboot into Linux right now, but on OpenBSD it
> complains bitterly that it can't gzip while appending, and refuses to do
> anything.
>
> Leaving off the "z" option and working with straight .tar files works
> great.
>
> If that's the case for the tar you're using then you'll have to
> decompress, append, then recompress.
>
> --
> Darrin Chandler            |  Phoenix BSD Users Group
>    |  http://bsd.phoenix.az.us/
> http://www.stilyagin.com/  |
> ---------------------------------------------------
> PLUG-discuss mailing list - 
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss