Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac Terminal unzip zip64 [closed]

I have Mac OS 10.9.5. I have downloaded a large zip file off of the internet that the owner changed to a zip64 for me so it could work. I try unzipping the file with unzip SNPsnap_gcan_3_500.zip but I get the following error

End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of SNPsnap_gcan_3_500.zip or SNPsnap_gcan_3_500.zip.zip, and cannot find SNPsnap_gcan_3_500.zip.ZIP, period.

I have no clue how to unzip this file. Any thoughts?

like image 739
Evan Avatar asked Aug 27 '15 15:08

Evan


People also ask

Can Mac open ZIP64 files?

Mac OS Sierra's Archive Utility notably does not support ZIP64, and can create corrupt archives when ZIP64 would be required. However, the ditto command shipped with Mac OS will unzip ZIP64 files.

How do I unzip a ZIP64 file?

The windows shell has a built in "unzipper". Right drag a zip file and select "extract". If you want it from the command line, you can use powershell directly PowerShell Expand-Archive -Path "source_zip_file_path" -DestinationPath "folder_you_want_unzipped_to" .

Can Mac handle ZIP64?

To open ZIP files larger than 4 GB, the program opening the archive needs to support Zip64 archives, and the built in solutions in Windows and macOS don't support this yet.

How do I unzip a file in Mac terminal?

Unzip in Terminal You can use the Mac search at the top right and start typing Terminal. It will appear, click on it to open the program. Type “unzip” and a space, then drag/drop the zip file into the Terminal window. Press Enter and the zip file will be unzipped, storing all files on your computer.


1 Answers

without any installation, comes with the OS.

open a terminal window (e.g. cmd + space -> terminal -> Enter>

enter ditto -xk YourZipfile.zip ./

works.

like image 186
Markus Avatar answered Sep 22 '22 22:09

Markus