67
10
When trying to unzip a file, I ghet the following error:
Archive: file.zip
skipping: file.bla need PK compat. v4.5 (can do v2.1)
Can any one help?
67
10
When trying to unzip a file, I ghet the following error:
Archive: file.zip
skipping: file.bla need PK compat. v4.5 (can do v2.1)
Can any one help?
99
@avernet then why Windows can do it and macOS not? Is macOS that bad? – user924 – 2019-05-11T19:54:55.937
15This works. I am just curious: does the need PK compat. v4.5 (can do v2.1)
message mean that Info-ZIP (i.e. the standard unzip
) can't read files in a newer format defined by PKWARE, or that this is in fact not a .zip file, but rather a 7z file? – avernet – 2013-11-27T17:57:59.137
2
If you're emotionally attached to using the unzip
command; this also works:
$ brew tap homebrew/dupes
$ brew install unzip
$ brew link unzip --force
# Warning: unzip is keg-only and must be linked with --force
# Note that doing so can interfere with building software.
0
If you're on an older Mac, XCode won't install without the latest OS. I just figured out that it works fine without Xcode or Homebrew, but you have to be comfortable running some terminal commands.
You can download 7za from SourceForge. It will show up as a 7za file with a terminal exec icon. Then copy it to /usr/local/bin and chmod +x /usr/local/bin/7za
(I had to create the bin folder). Then type 7za x path/to/your/file.zip and it should work.
$ sudo mkdir -p /usr/local/bin
$ sudo cp /Volumes/p7zip/7za /usr/local/bin
$ sudo chmod +x /usr/local/bin/7za
$ 7za x path/to/your/file.zip
0
That file was zipped under Windows/Linux using 7zip and you are trying to unzip it under MacOS.
Download The Unarchiver from the App Store and use it to unzip it.
2
Try
– nerdwaller – 2013-08-01T14:01:43.7237z x file.zip
install info, I am pretty sure that error is related to password protected zips, which the built in doesn't really support.