Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

3 Answers

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.