Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



QNAP - How to unzip...
 
Share:
Notifications
Clear all

[Solved] QNAP - How to unzip large ZIP archives when unzip fails

1 Posts
1 Users
0 Likes
5,247 Views
 Hans
(@hans)
Noble Member Admin
Joined: 11 years ago
Posts: 1065
Topic starter  

Unzip on the QNAP is unfortunately the "unzip" included in busybox, and busybox on the QNAP is ancient and really outdated.
This will cause that large zip files might cause an error:

Unsupported compression method 0

Replacing busybox, on the QNAP, appears tricky, and can cause possible problems. (see this thread in the QNAP forum) 

The only "good" option I have found so far is simply installing OptWare, which is outdated as well, but allows you to install "unzip 0.6.-2".
After installing OptWare, go to your QNAP Web Gui, open "App Center", and locate "Optware ipkg" and click the "open" button.
In the upcoming page, at the filter field, type "unzip" and press ENTER (or click "submit").

A list will appear, in which you see a green "install" button just before the "unzip" line, which will install the newer unzip.

Now to use this new unzip on the command line (SSH), say to unzip a very large zip file called "archive.zip" do this:

/opt/bin/unzip archive.zip

   
ReplyQuote
Share: