Concatenate the files
cat textile compressedfile > newfile
Or cat textile compressedfile textile > newfile
But I don't think you'll be able to uncompress the new file afterwards.
You will then need to find a way to remove the lines to uncompress the original file
On Oct 31, 2013 1:40 AM, "Bryan O'Neal" <Bryan.ONeal@theonealandassociates.com> wrote:
So lets say I have a few hundred lines of test I need at the beginning
or end of a big compressed text file. Say a 20GB uncompressed / 4GB
compressed JSON or XML doc. Now lets say I have no desire to
uncompressed this file and I have no desire to use interactive tools
like vim. How could I achieve this?
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss