Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the following for creating the tgz files:

tar zcf - /usr/folder | split -b 30720m - /usr/archive.tgz

Now I get three files: archive.tgzaa, archive.tgzab and archive.tgzac

So again I want to assemble those three archives into one tgz file...

cat archive.tgza* | (tar x)
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now

Then i did:

cat archive.tgza* | (tar z)
tar: You must specify one of the `-Acdtrux' options
Try `tar --help' or `tar --usage' for more information.

And then finally:

cat archive.tgza* | (tar xz)

worked but it started unpacking the archive... How can I simply join it back into one archive ?

Thanks !

share|improve this question
up vote 4 down vote accepted

Leave off the tar part entirely.

cat archive.tgza* > archive.tgz
share|improve this answer
perfect ! fast and efficient answer ! thanks ! – user130145 Apr 26 '12 at 14:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.