0

I have issues unzipping a huge zip files containing around 1M files. The zip file is 15GB and uncompresses to ~60GB. When I run unzip file.zip -d /directory/to/unzip/at it uncompresses halfway and gives up at around 700K files. No error messages.

Any tips?

2
  • use 7zip to uncompress it Commented Jan 24, 2018 at 20:08
  • Same results, I tried with 7za Commented Jan 24, 2018 at 20:40

2 Answers 2

0

I suspect urilimit set limit for either file size or CPU time: urilimit man page

5
  • They're both marked as "unlimited" Commented Jan 24, 2018 at 19:34
  • Does the unzipping stop at the exact same time? Is the unzipped content with the same size every time? Commented Jan 24, 2018 at 19:48
  • The unzipping stops at the exact same file every single time. Also unzipping the content produces the same amount of files/size. So you're right there seems to be a limiter. But it says "unlimited". Commented Jan 24, 2018 at 20:40
  • 1
    what filesystem are you decompressing the files to? Commented Jan 24, 2018 at 20:52
  • 1
    @D'ArcyNader ext4 Commented Jan 24, 2018 at 20:55
0

This happened to me (same symptoms, where it would hang after the same file every time). It turned out that stdout was being redirected somehow, so I wasn't seeing a prompt about overwriting a pre-existing file. Try running unzip with the -o option, and/or avoid stdout shenanigans.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.