<div dir="ltr">Tar has a built in append feature so you can add files to the archive...<div><br></div><div>Take a look at it and see if you can get it to do what you are after?</div><div><br></div><div><a href="http://linuxcommand.org/man_pages/tar1.html">http://linuxcommand.org/man_pages/tar1.html</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 31, 2013 at 7:41 AM, Bob Elzer <span dir="ltr"><<a href="mailto:bob.elzer@gmail.com" target="_blank">bob.elzer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Concatenate the files</p>
<p dir="ltr"> cat textile compressedfile > newfile</p>
<p dir="ltr">Or cat textile compressedfile textile > newfile</p>
<p dir="ltr">But I don't think you'll be able to uncompress the new file afterwards.</p>
<p dir="ltr">You will then need to find a way to remove the lines to uncompress the original file<br>
</p>
<div class="gmail_quote">On Oct 31, 2013 1:40 AM, "Bryan O'Neal" <<a href="mailto:Bryan.ONeal@theonealandassociates.com" target="_blank">Bryan.ONeal@theonealandassociates.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So lets say I have a few hundred lines of test I need at the beginning<br>
or end of a big compressed text file. Say a 20GB uncompressed / 4GB<br>
compressed JSON or XML doc. Now lets say I have no desire to<br>
uncompressed this file and I have no desire to use interactive tools<br>
like vim. How could I achieve this?<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br>
<br>Stephen<br><br>
</div>