Resume Extracting .tar.gz File That Terminated Before Finishing

If you are extracting a very large .tar.gz file, the process can be terminated before it finishes. This can sometimes help:

Run the command again, but add the -k flag so that it will skip over any files that have already been extracted.

So if you were extracting sample.tar.gz, like this:

tar -xvzf sample.tar.gz 

Then, after it gets terminated before finishing, run this (it has the -k flag):

tar -xvkf sample.tar.gz 

See more:

We've One Response

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this: