Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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'm on Windows 7 and have a number of .tar files with the following names:

.tar-aa
.tar-bb
.tar-cc
...

The tar files contain a large backup directory which is broken up into chunks of 250MBs each. What is the simplest way of uncompressing them all into one directory? If I uncompress them individually I end up with multiple directories each with a section of a file which causes errors.

share|improve this question

cat them together with a wildcard, then pipe that into tar, telling it read from stdin. For example, with the GNU tar:

cat something.tar-* | tar -xf -
share|improve this answer

Get UnxUtils or GnuWin which both contain a tar.exe. http://unxutils.sourceforge.net/ Then open a command prompt and run

cat .tar-aa .tar-bb .tar-cc | tar xf - 
share|improve this answer

I'm not sure of your environment, but I'll assume you have cat if you also have tar:

cat largebackupdirectory.tar* | tar -xf -

Edit: This will cat every tar file that has been broken up and pipe the output as a file into tar -xf, which extracts the tar files.

share|improve this answer
    
Explain your command for those who do not just want to enter in a command unknowingly. – Will.Beninger May 29 '13 at 16:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .